

def test_connection_with_no_trailing_slash(self):
    self.location.auth_or_store_url = 'example.com/v2'
    connection = self.store.get_connection(self.location)
    self.assertEqual(self.authurl, 'https://example.com/v2/')

dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py TestSingleTenantStoreConnections.test_connection_with_no_trailing_slash/VarMisuse@35/54 `connection`->`self`