MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / setup_cluster

Method setup_cluster

tests/test_connect.py:430–433  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

428
429 @classmethod
430 def setup_cluster(cls):
431 cls.cluster = cls.new_cluster(pg_cluster.TempCluster)
432 cls.start_cluster(
433 cls.cluster, server_settings=cls.get_server_settings())
434
435 async def test_auth_gssapi_ok(self):
436 conn = await self.connect(user=self.realm.user_princ)

Callers

nothing calls this directly

Calls 3

new_clusterMethod · 0.80
start_clusterMethod · 0.80
get_server_settingsMethod · 0.45

Tested by

no test coverage detected