From d27acb077657f9c228c4ed8baddc7ab6fb00e800 Mon Sep 17 00:00:00 2001 From: Varsha Menon Date: Fri, 22 Mar 2024 11:09:56 -0400 Subject: [PATCH] test: fix command --- .../core/management/commands/test/test_bulk_add_course_staff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edx_exams/apps/core/management/commands/test/test_bulk_add_course_staff.py b/edx_exams/apps/core/management/commands/test/test_bulk_add_course_staff.py index 8e1da341..4200773d 100644 --- a/edx_exams/apps/core/management/commands/test/test_bulk_add_course_staff.py +++ b/edx_exams/apps/core/management/commands/test/test_bulk_add_course_staff.py @@ -81,7 +81,7 @@ def test_add_course_staff_with_batch_size(self): csv = self._write_test_csv(csv, lines) # todo: figure out how to check success but not via logs # todo: assert number of queries is correct - call_command(self.command, f'--csv_path={csv.name} --batch_size=1') + call_command(self.command, f'--csv_path={csv.name}', '--batch_size=1') assert CourseStaffRole.objects.filter(course_id='course-v1:edx+test+f20').count() == 2 def test_add_course_staff_with_batch_delay(self):