Fix CASTestCase.client_cas_login()

This commit is contained in:
Aurélien Delobelle 2017-12-29 22:21:44 +01:00
parent 5340ef0d1a
commit a11a835ef2

View file

@ -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,