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

Method setUp

tests/test_execute.py:103–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101
102class TestExecuteMany(tb.ConnectedTestCase):
103 def setUp(self):
104 super().setUp()
105 self.loop.run_until_complete(self.con.execute(
106 'CREATE TABLE exmany (a text, b int PRIMARY KEY)'))
107
108 def tearDown(self):
109 self.loop.run_until_complete(self.con.execute('DROP TABLE exmany'))

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected