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

Function test_values

tests/fields/test_bool.py:34–37  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

32
33@pytest.mark.asyncio
34async def test_values(db):
35 obj0 = await testmodels.BooleanFields.create(boolean=True)
36 values = await testmodels.BooleanFields.get(id=obj0.id).values("boolean")
37 assert values["boolean"] is True
38
39
40@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…