MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / test_isolation

Function test_isolation

examples/pytest/test_example.py:21–23  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

19
20@pytest.mark.asyncio
21async def test_isolation(db):
22 count = await User.all().count()
23 assert count == 0, "Database should be empty at test start"

Callers

nothing calls this directly

Calls 2

countMethod · 0.80
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…