1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-09 12:50:20 +02:00

Add team table

This commit is contained in:
Yohann D'ANELLO
2020-11-16 11:58:05 +01:00
parent b0a3a22f83
commit ace1dbdc75
6 changed files with 171 additions and 108 deletions

View File

@ -185,6 +185,13 @@ class TestStudentParticipation(TestCase):
))
self.assertEqual(response.status_code, 403)
def test_team_list(self):
"""
Test to display the list of teams.
"""
response = self.client.get(reverse("participation:team_list"))
self.assertTrue(response.status_code, 200)
def test_no_myteam_redirect_noteam(self):
"""
Test redirection.