mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 00:12:04 +01:00 
			
		
		
		
	Remove Matrix test
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user