mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-26 05:02:23 +00:00
Remove Matrix test
This commit is contained in:
parent
833249191c
commit
de76abab5f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user