From a11a835ef2aef3a4a42743fe2b5e2a256eed79cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Fri, 29 Dec 2017 22:21:44 +0100 Subject: [PATCH] Fix CASTestCase.client_cas_login() --- allauth_cas/test/testcases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allauth_cas/test/testcases.py b/allauth_cas/test/testcases.py index 0c67403..d1e93e9 100644 --- a/allauth_cas/test/testcases.py +++ b/allauth_cas/test/testcases.py @@ -32,7 +32,7 @@ class CASTestCase(TestCase): username and attributes control the CAS server response when ticket is checked. """ - client.get('/accounts/theid/login/') + client.get(reverse('{id}_login'.format(id=provider_id))) self.patch_cas_response( valid_ticket='__all__', username=username, attributes=attributes,