From a401e3798072a255c2e0fcf5348fc45ab0b97aba Mon Sep 17 00:00:00 2001 From: Zach Hancock Date: Thu, 5 Oct 2023 14:12:58 -0400 Subject: [PATCH] test: missed a spot --- edx_exams/apps/core/tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edx_exams/apps/core/tests/test_api.py b/edx_exams/apps/core/tests/test_api.py index d5155fd2..5d75f197 100644 --- a/edx_exams/apps/core/tests/test_api.py +++ b/edx_exams/apps/core/tests/test_api.py @@ -639,7 +639,7 @@ def test_reset_exam_attempt(self): """ Test that an exam attempt is deleted """ - delete_exam_attempt(self.exam_attempt, self.user) + reset_exam_attempt(self.exam_attempt, self.user) self.assertFalse(ExamAttempt.objects.filter(id=self.exam_attempt.id).exists()) @patch('edx_exams.apps.core.signals.signals.EXAM_ATTEMPT_RESET.send_event') @@ -647,7 +647,7 @@ def test_event_emitted(self, mock_event_send): """ Test that when an exam attempt is reset, the EXAM_ATTEMPT_RESET event is emitted. """ - delete_exam_attempt(self.exam_attempt, self.user) + reset_exam_attempt(self.exam_attempt, self.user) user_data = UserData( id=self.student_user.id,