

def test_connection_insecure(self):
    self.config(swift_store_auth_insecure=True)
    self.store.configure()
    connection = self.store.get_connection(self.location)
    self.assertTrue(connection.insecure)

dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py TestSingleTenantStoreConnections.test_connection_insecure/original