aboutsummaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests.py b/tests.py
index e7af6a8..77fa120 100644
--- a/tests.py
+++ b/tests.py
@@ -152,12 +152,12 @@ class GroupTestCase(TestCase):
general = Group.objects.get(celcat_name="L1 info (toutes sections et semestres confondus)", timetable=self.timetable)
- self.assertEqual(cma.group_info, (self.timetable.id, "L1 info s2 ", "A"))
- self.assertEqual(tda2.group_info, (self.timetable.id, "L1 info s2 ", "A2"))
- self.assertEqual(tpa21.group_info, (self.timetable.id, "L1 info s2 ", "A21"))
+ self.assertEqual(cma.group_info, ("L1 info s2 ", "A"))
+ self.assertEqual(tda2.group_info, ("L1 info s2 ", "A2"))
+ self.assertEqual(tpa21.group_info, ("L1 info s2 ", "A21"))
- self.assertEqual(cmb.group_info, (self.timetable.id, "L1 info s2 ", "B"))
- self.assertEqual(tdb2.group_info, (self.timetable.id, "L1 info s2 ", "B2"))
- self.assertEqual(tpb21.group_info, (self.timetable.id, "L1 info s2 ", "B21"))
+ self.assertEqual(cmb.group_info, ("L1 info s2 ", "B"))
+ self.assertEqual(tdb2.group_info, ("L1 info s2 ", "B2"))
+ self.assertEqual(tpb21.group_info, ("L1 info s2 ", "B21"))
- self.assertEqual(general.group_info, (self.timetable.id, "L1 info ", ""))
+ self.assertEqual(general.group_info, ("L1 info ", ""))