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

Function test_last

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

Source from the content-addressed store, hash-verified

292
293@pytest.mark.asyncio
294async def test_last(tournament_model):
295 mdl = tournament_model
296 fetched_mdl = await Tournament.last()
297 assert mdl.id == fetched_mdl.id
298
299
300@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

lastMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…