Skip to content

Commit

Permalink
Increase pagination test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Apr 14, 2022
1 parent 67aed1c commit 988bf33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/api/test_query_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def test_pagination_functionality():
with pytest.raises(HTTPException):
op.query(_limit=10000, _skip=100, _page=None, _per_page=None)

with pytest.raises(HTTPException):
op.query(_limit=None, _skip=None, _page=5, _per_page=10000)

with pytest.raises(HTTPException):
op.query(_limit=-1, _skip=100, _page=None, _per_page=None)

Expand Down

0 comments on commit 988bf33

Please sign in to comment.