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

Function straight_fields_instance

tests/test_only.py:14–16  ·  view source on GitHub ↗

Create a StraightFields instance for testing.

(db)

Source from the content-addressed store, hash-verified

12
13@pytest_asyncio.fixture
14async def straight_fields_instance(db):
15 """Create a StraightFields instance for testing."""
16 return await StraightFields.create(chars="Test")
17
18
19@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…