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

Function intfields_data

tests/test_case_when.py:11–14  ·  view source on GitHub ↗

Create IntFields test data.

(db)

Source from the content-addressed store, hash-verified

9
10@pytest_asyncio.fixture
11async def intfields_data(db):
12 """Create IntFields test data."""
13 intfields = [await IntFields.create(intnum=val) for val in range(10)]
14 return intfields
15
16
17@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…