def test_v2_with_no_tenant(self):
        uri = "swift://failme:key@auth_address/glance/%s" % (FAKE_UUID)
        loc = location.get_location_from_uri(uri, conf=self.conf)
        self.assertRaises(exceptions.BadStoreUri,
                          self.store.get,
                          loc)
dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/TestStoreAuthV2.test_v2_with_no_tenant/original