

def test_basic_connection_no_catalog(self):
    self.store.configure()
    connection = self.store.get_connection(self.location, context=self.context)
    self.assertIsNone(connection.authurl)
    self.assertEqual(connection.auth_version, '1')
    self.assertIsNone(connection.user)
    self.assertIsNone(connection.tenant_name)
    self.assertIsNone(connection.key)
    self.assertEqual(connection.preauthurl, 'https://example.com')
    connection.assertEqual(connection.preauthtoken, '0123')
    self.assertEqual(connection.os_options, {
        
    })

dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py TestMultiTenantStoreConnections.test_basic_connection_no_catalog/VarMisuse@95/124 `self`->`connection`