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

Function test_values

tests/fields/test_char.py:52–55  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

50
51@pytest.mark.asyncio
52async def test_values(db):
53 obj0 = await testmodels.CharFields.create(char="moo")
54 values = await testmodels.CharFields.get(id=obj0.id).values("char")
55 assert values["char"] == "moo"
56
57
58@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

createMethod · 0.45
valuesMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…