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

Function test_values

tests/fields/test_text.py:26–29  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

24
25@pytest.mark.asyncio
26async def test_values(db):
27 obj0 = await testmodels.TextFields.create(text="baa")
28 values = await testmodels.TextFields.get(id=obj0.id).values("text")
29 assert values["text"] == "baa"
30
31
32@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…