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

Method setup_cluster

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

Source from the content-addressed store, hash-verified

1811
1812 @classmethod
1813 def setup_cluster(cls):
1814 cls.cluster = cls.new_cluster(pg_cluster.TempCluster)
1815 cls.start_cluster(
1816 cls.cluster, server_settings=cls.get_server_settings())
1817
1818 def setUp(self):
1819 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