diff --git a/tests/test_redirect.py b/tests/test_redirect.py index 421ee1cf..25efe1f3 100644 --- a/tests/test_redirect.py +++ b/tests/test_redirect.py @@ -88,4 +88,4 @@ def test_chained_redirect(redirect_app): assert request.url.endswith('/1') assert response.status == 200 assert response.text == 'OK' - assert response.url.endswith('/3') + assert response.url.path.endswith('/3')