diff --git a/stac_fastapi/api/tests/test_api.py b/stac_fastapi/api/tests/test_api.py index 96270baf9..019d4c23b 100644 --- a/stac_fastapi/api/tests/test_api.py +++ b/stac_fastapi/api/tests/test_api.py @@ -45,7 +45,7 @@ def _assert_dependency_applied(api, routes): headers={"content-type": "application/json"}, ) assert ( - response.status_code == 200 + 200 <= response.status_code < 300 ), "Authenticated requests should be accepted" assert response.json() == "dummy response"