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

Function test_save

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

Source from the content-addressed store, hash-verified

129
130@pytest.mark.asyncio
131async def test_save(tournament_model):
132 mdl = tournament_model
133 oldid = mdl.id
134 await mdl.save()
135 assert mdl.id == oldid
136
137
138@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…