We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f3917 commit 045b8a4Copy full SHA for 045b8a4
tests/legacy/test_api_legacy.py
@@ -375,7 +375,8 @@ def get(self):
375
376
resp = client.get("/api")
377
assert resp.status_code == 302
378
- assert resp.headers["Location"] == "/"
+ # FIXME: The behavior changed somewhere between Flask 2.0.3 and 2.2.x
379
+ assert resp.headers["Location"].endswith("/")
380
381
def test_calling_owns_endpoint_before_api_init(self):
382
api = restx.Api()
0 commit comments