Merged in feature/update-users (pull request #128)
Update course participants
This commit is contained in:
commit
57bfadf94a
Binary file not shown.
Binary file not shown.
|
|
@ -31,7 +31,7 @@ class ImportStudentsTestCase(TestCase):
|
|||
print(row)
|
||||
create_or_update_student(self.course, dict(row))
|
||||
|
||||
self.assertEqual(CourseSessionUser.objects.count(), 28)
|
||||
self.assertEqual(CourseSessionUser.objects.count(), 14)
|
||||
|
||||
|
||||
class CreateOrUpdateStudentTestCase(TestCase):
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class ImportTrainerTestCase(TestCase):
|
|||
print(row)
|
||||
create_or_update_trainer(self.course, dict(row))
|
||||
|
||||
self.assertEqual(CourseSessionUser.objects.count(), 4)
|
||||
self.assertEqual(CourseSessionUser.objects.count(), 6)
|
||||
|
||||
|
||||
class CreateOrUpdateTrainerTestCase(TestCase):
|
||||
|
|
|
|||
Loading…
Reference in New Issue