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

Method setUpClass

tests/test_introspection.py:30–34  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

28class TestIntrospection(tb.ConnectedTestCase):
29 @classmethod
30 def setUpClass(cls):
31 super().setUpClass()
32 cls.adminconn = cls.loop.run_until_complete(cls.connect())
33 cls.loop.run_until_complete(
34 cls.adminconn.execute('CREATE DATABASE asyncpg_intro_test'))
35
36 @classmethod
37 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected