mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-05 09:54:13 +02:00
Add protected pages to view authorizations
This commit is contained in:
@ -298,7 +298,7 @@ class TestRegistration(TestCase):
|
||||
self.assertTrue(getattr(self.student.registration, auth_type))
|
||||
|
||||
response = self.client.get(reverse(
|
||||
auth_type, args=(self.student.registration.photo_authorization.name.split('/')[-1],)))
|
||||
auth_type, args=(getattr(self.student.registration, auth_type).name.split('/')[-1],)))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
from participation.models import Team
|
||||
|
Reference in New Issue
Block a user