From d8ffd9a3acb41179c9fbc2ea5da852a60cf9a3f6 Mon Sep 17 00:00:00 2001 From: Varsha Menon Date: Wed, 27 Mar 2024 21:27:34 -0400 Subject: [PATCH] test: update formatting --- .../management/commands/test/test_bulk_add_course_staff.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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,