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,