

def setUp(self):
    super(TestMultiTenantStoreConnections, self).setUp()
    moxfixture = self.useFixture(moxstubout.MoxStubout())
    self.stubs = specs.stubs
    self.stubs.Set(swiftclient, 'Connection', FakeConnection)
    self.context = mock.MagicMock(user='tenant:user1', tenant='tenant', auth_token='0123')
    self.store = swift.MultiTenantStore(self.conf)
    specs = {
        'scheme': 'swift',
        'auth_or_store_url': 'example.com',
        'container': 'cont',
        'obj': 'object',
    }
    self.location = swift.StoreLocation(specs, self.conf)
    self.addCleanup(self.conf.reset)

dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py TestMultiTenantStoreConnections.setUp/VarMisuse@38/56 `moxfixture`->`specs`