From 9a69a9798c934c7d0009b5d87a3ab4c2b36ac3f6 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Thu, 26 Jan 2017 14:28:02 -1000 Subject: [PATCH] Fix test --- test/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_views.py b/test/test_views.py index 9b98507..3209bf0 100644 --- a/test/test_views.py +++ b/test/test_views.py @@ -164,7 +164,7 @@ def test_callback(import_by_path, app_setting, OAuth2Session, request_factory): resp = callback(request) assert resp.status_code == 302 - assert resp['location'] == 'http://testserver/app-setting' + assert resp['location'] == 'http://testserver/callback/app-setting' assert request.session.get('oauth_token') == 'token' assert request.session.get('user') == 'test-user'