diff options
Diffstat (limited to 'tests.py')
-rw-r--r-- | tests.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -49,10 +49,9 @@ class CourseTestCase(TestCase): source=source) for group in (cma, tda2, self.tpa21, cmb, tdb2, self.tpb21,): - course = Course.objects.create(name="{0} course" - .format(group.name), - type="cours", source=source, - begin=dt, end=dt) + course = Course.objects.create( + name="{0} course".format(group.name), type="cours", + source=source, begin=dt, end=dt) course.groups.add(group) def test_get_courses_for_group(self): |