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

Function test_empty

tests/fields/test_fk.py:21–23  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

19
20@pytest.mark.asyncio
21async def test_empty(db):
22 with pytest.raises(IntegrityError):
23 await testmodels.MinRelation.create()
24
25
26@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…