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

Method setup_cluster

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

Source from the content-addressed store, hash-verified

2028
2029 @classmethod
2030 def setup_cluster(cls):
2031 cls.cluster = cls.new_cluster(pg_cluster.TempCluster)
2032 cls.cluster.reset_wal(oid=cls.LARGE_OID)
2033 cls.start_cluster(cls.cluster)
2034
2035 async def test_custom_codec_large_oid(self):
2036 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