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

Method setUp

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

Source from the content-addressed store, hash-verified

127
128class TestExecuteMany(tb.ConnectedTestCase):
129 def setUp(self):
130 super().setUp()
131 self.loop.run_until_complete(self.con.execute(
132 'CREATE TABLE exmany (a text, b int PRIMARY KEY)'))
133
134 def tearDown(self):
135 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