aboutsummaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
authorAlban Gruin2017-10-19 21:48:39 +0200
committerAlban Gruin2017-10-19 21:48:39 +0200
commit9efb1796aed00f4c7a8c9cd7e6b8a169318b1be0 (patch)
tree25df66bca70563b065b415a53f78dfe90919fc45 /tests.py
parente983619333a715bbc35deecf019a95addb5b6009 (diff)
Adaptation de corresponds_to() et des tests de parsage
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests.py b/tests.py
index a3475ff..051c733 100644
--- a/tests.py
+++ b/tests.py
@@ -128,10 +128,10 @@ class GroupTestCase(TestCase):
tdb2 = Group.objects.get(celcat_name="L1 info s2 TDB2", timetable=self.timetable)
tpb21 = Group.objects.get(celcat_name="L1 info s2 TPB21", timetable=self.timetable)
- self.assertEqual(cma.group_info, (self.timetable.id, "L1 info s2", "A", None, None))
- self.assertEqual(tda2.group_info, (self.timetable.id, "L1 info s2", "A", 2, None))
- self.assertEqual(tpa21.group_info, (self.timetable.id, "L1 info s2", "A", 2, 1))
+ self.assertEqual(cma.group_info, (self.timetable.id, "L1 info", "A"))
+ self.assertEqual(tda2.group_info, (self.timetable.id, "L1 info", "A2"))
+ self.assertEqual(tpa21.group_info, (self.timetable.id, "L1 info", "A21"))
- self.assertEqual(cmb.group_info, (self.timetable.id, "L1 info s2", "B", None, None))
- self.assertEqual(tdb2.group_info, (self.timetable.id, "L1 info s2", "B", 2, None))
- self.assertEqual(tpb21.group_info, (self.timetable.id, "L1 info s2", "B", 2, 1))
+ self.assertEqual(cmb.group_info, (self.timetable.id, "L1 info", "B"))
+ self.assertEqual(tdb2.group_info, (self.timetable.id, "L1 info", "B2"))
+ self.assertEqual(tpb21.group_info, (self.timetable.id, "L1 info", "B21"))