MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / setup_cluster

Method setup_cluster

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

Source from the content-addressed store, hash-verified

2045
2046 @classmethod
2047 def setup_cluster(cls):
2048 cls.cluster = cls.new_cluster(pg_cluster.TempCluster)
2049 cls.start_cluster(
2050 cls.cluster, server_settings=cls.get_server_settings())
2051
2052 def setUp(self):
2053 super().setUp()

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