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

Function tournament_model

tests/test_model_methods.py:119–121  ·  view source on GitHub ↗

Fixture that provides a saved Tournament model instance.

(db)

Source from the content-addressed store, hash-verified

117
118@pytest_asyncio.fixture
119async def tournament_model(db):
120 """Fixture that provides a saved Tournament model instance."""
121 return await Tournament.create(name="Test")
122
123
124@pytest_asyncio.fixture

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…