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

Method setup_cluster

asyncpg/_testbase/__init__.py:324–329  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

322
323 @classmethod
324 def setup_cluster(cls):
325 cls.cluster = _init_default_cluster()
326
327 if cls.cluster.get_status() != 'running':
328 cls.cluster.start(
329 port='dynamic', server_settings=cls.get_server_settings())
330
331 @classmethod
332 def setUpClass(cls):

Callers 1

setUpClassMethod · 0.45

Calls 4

_init_default_clusterFunction · 0.85
get_statusMethod · 0.45
startMethod · 0.45
get_server_settingsMethod · 0.45

Tested by

no test coverage detected