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 27b7e50b..836de3e3 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 @@ -47,10 +47,7 @@ def test_add_course_staff_with_existing_user(self): with NamedTemporaryFile() as csv: csv = self._write_test_csv(csv, lines) call_command(self.command, f'--csv_path={csv.name}') - assert User.objects.filter( - username=self.user.username, - email=self.user.email, - ).exists() + assert User.objects.filter(username=self.user.username, email=self.user.email).exists() assert CourseStaffRole.objects.filter( user=self.user.id, course_id=self.course_id,