aboutsummaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
authorAlban Gruin2018-01-28 11:14:34 +0100
committerAlban Gruin2018-01-28 11:14:34 +0100
commit77a4b75431cfab7348db73b563dd005ce64be14a (patch)
tree850473bacc0a4b7203b5d7253a04c96baec9f3a8 /tests.py
parent7c73c8f900b86ebd58f48171cbd5284c29bdf840 (diff)
Changements dans le formatage du code pour le rendre plus lisible
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests.py b/tests.py
index d19203e..13c8725 100644
--- a/tests.py
+++ b/tests.py
@@ -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):