Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-cf committed Apr 14, 2024
1 parent de32282 commit a94938c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_fastapi/tests/resources/test_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ async def test_pagination_post(app_client, ctx, txn_client):
# Perform the next POST request using the updated request body
page = await app_client.post("/search", json=request_body)

# Our limit is 1, so we expect len(ids) + 1 number of requests before we run out of pages
# Our limit is 1, so we expect len(expected_item_ids) number of requests before we run out of pages
assert request_count == len(expected_item_ids)

# Confirm we have paginated through all items by comparing the expected and retrieved item IDs
Expand Down

0 comments on commit a94938c

Please sign in to comment.