From 2e0393d098712875a1b90dc119f42bb8bb0dfbdd Mon Sep 17 00:00:00 2001 From: Andy Shultz Date: Thu, 22 Jul 2021 16:44:11 -0400 Subject: [PATCH] fix: update platform test that directly creates proctor attempts Student name field is gone. This test was providing a blank name so nothing more than delete is needed. MST-872 --- lms/djangoapps/instructor_analytics/tests/test_basic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/djangoapps/instructor_analytics/tests/test_basic.py b/lms/djangoapps/instructor_analytics/tests/test_basic.py index 35e3ff360b..ae9623dbd8 100644 --- a/lms/djangoapps/instructor_analytics/tests/test_basic.py +++ b/lms/djangoapps/instructor_analytics/tests/test_basic.py @@ -276,15 +276,15 @@ class TestAnalyticsBasic(ModuleStoreTestCase): proctored_exam_id = create_exam(self.course_key, 'Test Content', 'Test Exam', 1) ProctoredExamStudentAttempt.create_exam_attempt( - proctored_exam_id, self.users[0].id, '', + proctored_exam_id, self.users[0].id, 'Test Code 1', True, False, 'ad13' ) ProctoredExamStudentAttempt.create_exam_attempt( - proctored_exam_id, self.users[1].id, '', + proctored_exam_id, self.users[1].id, 'Test Code 2', True, False, 'ad13' ) ProctoredExamStudentAttempt.create_exam_attempt( - proctored_exam_id, self.users[2].id, '', + proctored_exam_id, self.users[2].id, 'Test Code 3', True, False, 'asd' )