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

Method setup_cluster

tests/test_codecs.py:1984–1987  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1982
1983 @classmethod
1984 def setup_cluster(cls):
1985 cls.cluster = cls.new_cluster(pg_cluster.TempCluster)
1986 cls.cluster.reset_wal(oid=cls.LARGE_OID)
1987 cls.start_cluster(cls.cluster)
1988
1989 async def test_custom_codec_large_oid(self):
1990 await self.con.execute('CREATE DOMAIN test_domain_t AS int')

Callers

nothing calls this directly

Calls 3

new_clusterMethod · 0.80
reset_walMethod · 0.80
start_clusterMethod · 0.80

Tested by

no test coverage detected