From 3d946f6a11b1189054bc7a3087c411834817898a Mon Sep 17 00:00:00 2001 From: Thomas Maschler Date: Fri, 5 Apr 2024 11:57:22 -0400 Subject: [PATCH] fix tests --- stac_fastapi/api/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"