def test_v2_multi_tenant_location(self):
        conf = self.getConfig()
        conf['swift_store_multi_tenant'] = True
        uri = "swift://auth_address/glance/%s" % (FAKE_UUID)
        loc = location.get_location_from_uri(uri, conf=self.conf)
        self.assertEqual('swift', loc.store_name)
dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/TestStoreAuthV2.test_v2_multi_tenant_location/original