From f2d16facad2a7826a4ea6ef0b7b4847789d5f3d4 Mon Sep 17 00:00:00 2001 From: Alex Laird Date: Wed, 16 Oct 2024 15:20:41 -0500 Subject: [PATCH] Add assert in example schedule import test for events (should be 3). --- .../importexport/tests/views/apis/testcaseimportexportviews.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helium/importexport/tests/views/apis/testcaseimportexportviews.py b/helium/importexport/tests/views/apis/testcaseimportexportviews.py index c7c779e4..c8dc5092 100644 --- a/helium/importexport/tests/views/apis/testcaseimportexportviews.py +++ b/helium/importexport/tests/views/apis/testcaseimportexportviews.py @@ -342,6 +342,7 @@ def test_user_registration_imports_example_schedule(self): self.assertEqual(Material.objects.count(), 4) self.assertEqual(Homework.objects.count(), 22) self.assertEqual(Reminder.objects.count(), 5) + self.assertEqual(Event.objects.count(), 3) homework1 = Homework.objects.all()[0] event = Event.objects.all()[0]