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

Function test_offset_negative

tests/test_queryset.py:86–88  ·  view source on GitHub ↗
(db, intfields_data)

Source from the content-addressed store, hash-verified

84
85@pytest.mark.asyncio
86async def test_offset_negative(db, intfields_data):
87 with pytest.raises(ParamsError, match="Offset should be non-negative number"):
88 await IntFields.all().offset(-10)
89
90
91@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

offsetMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…