Merged in feature/update-users (pull request #128)

Update course participants
This commit is contained in:
Christian Cueni 2023-06-07 12:57:17 +00:00
commit 57bfadf94a
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):