MCPcopy
hub / github.com/piccolo-orm/piccolo / test_sync_simple

Method test_sync_simple

tests/utils/test_sync.py:8–12  ·  view source on GitHub ↗

Test calling a simple coroutine.

(self)

Source from the content-addressed store, hash-verified

6
7class TestSync(TestCase):
8 def test_sync_simple(self):
9 """
10 Test calling a simple coroutine.
11 """
12 run_sync(asyncio.sleep(0.1))
13
14 def test_sync_nested(self):
15 """

Callers

nothing calls this directly

Calls 1

run_syncFunction · 0.90

Tested by

no test coverage detected