File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff 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
7775def test_items_bbox (app ):
You can’t perform that action at this time.
0 commit comments