MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / test_latest

Function test_latest

tests/test_model_methods.py:301–304  ·  view source on GitHub ↗
(tournament_model)

Source from the content-addressed store, hash-verified

299
300@pytest.mark.asyncio
301async def test_latest(tournament_model):
302 mdl = tournament_model
303 fetched_mdl = await Tournament.latest("name")
304 assert mdl.id == fetched_mdl.id
305
306
307@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

latestMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…