Skip to content

Commit ae814df

Browse files
committed
uncomment test
1 parent f5c6925 commit ae814df

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/routes/test_items.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,12 @@ def test_items_limit_and_offset(app):
6464
assert body["numberReturned"] == 1
6565
assert ["collection", "self", "prev"] == [link["rel"] for link in body["links"]]
6666

67-
# TODO: Fix
68-
# offset > data
69-
# response = app.get("/collections/public.landsat_wrs/items?offset=20000")
70-
# assert response.status_code == 200
71-
# body = response.json()
72-
# assert len(body["features"]) == 0
73-
# assert body["numberMatched"] == 16269
74-
# assert body["numberReturned"] == 0
67+
response = app.get("/collections/public.landsat_wrs/items?offset=20000")
68+
assert response.status_code == 200
69+
body = response.json()
70+
assert len(body["features"]) == 0
71+
assert body["numberMatched"] == 16269
72+
assert body["numberReturned"] == 0
7573

7674

7775
def test_items_bbox(app):

0 commit comments

Comments
 (0)