Skip to content

Commit

Permalink
Add pagination failure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Apr 13, 2022
1 parent 0483c2d commit fe67e6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/api/test_query_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def test_pagination_functionality():
with pytest.raises(HTTPException):
op.query(_limit=10000)

with pytest.raises(HTTPException):
op.query(_limit=-1)

with pytest.raises(HTTPException):
op.query(_page=-1)

def test_pagination_serialization():

Expand Down

0 comments on commit fe67e6c

Please sign in to comment.