Skip to content

Commit

Permalink
fix: practice exams are proctored (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 authored Nov 7, 2023
1 parent 26e35a6 commit 21723b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions edx_exams/apps/core/exam_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class PracticeExamType(ExamType):
Properties for practice exam
"""
name = 'practice'
description = 'Practice, non-proctored, timed exam'
is_proctored = False
description = 'Practice, proctored, timed exam'
is_proctored = True
is_timed = True
is_practice = True

Expand All @@ -53,17 +53,17 @@ class OnboardingExamType(ExamType):
this type exists solely to translate requests bound for edx-proctoring
"""
name = 'onboarding'
description = 'Practice, proctored, timed exam'
description = 'Practice, proctored, timed exam for onboarding'
is_proctored = True
is_timed = True
is_practice = True


EXAM_TYPES = [
ProctoredExamType,
TimedExamType,
PracticeExamType,
OnboardingExamType,
OnboardingExamType,
PracticeExamType,
ProctoredExamType,
TimedExamType,
]


Expand Down
2 changes: 1 addition & 1 deletion edx_exams/apps/router/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_patch_exams(self, mock_register_exams):
'exam_name': 'test practice exam',
'exam_type': 'practice',
'backend': 'mockprock',
'is_proctored': False,
'is_proctored': True,
'is_practice_exam': True,
},
{
Expand Down

0 comments on commit 21723b2

Please sign in to comment.