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 6f63ac16..0b6e80e7 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 @@ -124,7 +124,7 @@ def test_dupe_user_csv(self): course_id_2 = 'course-v1:edx+test+f21' lines = [f'{username},{email},{self.course_role},{self.course_id}\n', f'{username},{email},{self.course_role},{course_id_2}\n'] - + with NamedTemporaryFile() as csv: csv = self._write_test_csv(csv, lines) call_command(self.command, f'--csv_path={csv.name}')