1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 17:02:28 +00:00

Remove Matrix test

This commit is contained in:
Yohann D'ANELLO 2021-04-04 16:42:09 +02:00
parent 833249191c
commit de76abab5f
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -487,20 +487,6 @@ class TestStudentParticipation(TestCase):
resp = self.client.get(reverse("participation:participation_detail", args=(self.second_team.pk,))) resp = self.client.get(reverse("participation:participation_detail", args=(self.second_team.pk,)))
self.assertEqual(resp.status_code, 403) self.assertEqual(resp.status_code, 403)
def test_cover_matrix(self):
"""
Load matrix scripts, to cover them and ensure that they can run.
"""
self.user.registration.team = self.team
self.user.registration.save()
self.second_user.registration.team = self.second_team
self.second_user.registration.save()
self.team.participation.valid = True
self.team.participation.received_participation = self.second_team.participation
self.team.participation.save()
call_command('fix_matrix_channels')
class TestAdmin(TestCase): class TestAdmin(TestCase):
def setUp(self) -> None: def setUp(self) -> None: