From 6a209327dbef59f301704fe79b02e22b77e2d064 Mon Sep 17 00:00:00 2001 From: Varsha Menon Date: Wed, 27 Mar 2024 21:30:33 -0400 Subject: [PATCH] test: fix tests --- .../management/commands/test/test_bulk_add_course_staff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 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 836de3e3..e9cb910c 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 @@ -51,7 +51,7 @@ def test_add_course_staff_with_existing_user(self): assert CourseStaffRole.objects.filter( user=self.user.id, course_id=self.course_id, - course_role=self.course_role, + role=self.course_role, ).exists() def test_add_course_staff_with_new_user(self): @@ -66,7 +66,7 @@ def test_add_course_staff_with_new_user(self): assert CourseStaffRole.objects.filter( user=user.id, course_id=self.course_id, - course_role=self.course_role, + role=self.course_role, ).exists() def test_add_course_staff_with_not_default_batch_size(self):