Update course participants

This commit is contained in:
Christian Cueni 2023-06-07 13:25:52 +02:00
parent af9fcc0eb1
commit dfc395b6ec
4 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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):