diff --git a/apps/registration/tests.py b/apps/registration/tests.py index 5991cdb..a2d0947 100644 --- a/apps/registration/tests.py +++ b/apps/registration/tests.py @@ -179,6 +179,14 @@ class TestRegistration(TestCase): """ Update the user information, for each type of user. """ + # To test the modification of mailing lists + from participation.models import Team + self.student.registration.team = Team.objects.create( + name="toto", + trigram="TOT", + ) + self.student.registration.save() + for user, data in [(self.user, dict(role="Bot")), (self.student, dict(student_class=11, school="Sky")), (self.coach, dict(professional_activity="God"))]: