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

Function test_eq

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

Source from the content-addressed store, hash-verified

217
218@pytest.mark.asyncio
219async def test_eq(tournament_model):
220 mdl = tournament_model
221 fetched_mdl = await Tournament.get(name="Test")
222 assert mdl == fetched_mdl
223
224
225@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…