From 55778389057279734a88046e6e1cbebadfa79c85 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Wed, 22 Mar 2017 16:21:35 -0500 Subject: [PATCH] Hotfixes tests failing from URL object change aiohttp decided to use yarl for their new URL objects so that they aren't plain strings anymore which means that this single test fails. Not a huge change but this should fix the testing suite. --- tests/test_redirect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')