Commit 131a3322 by Afzal Wali

quality fix.

parent 7da5e1c3
...@@ -14,14 +14,15 @@ from edx_proctoring.api import ( ...@@ -14,14 +14,15 @@ from edx_proctoring.api import (
stop_exam_attempt, stop_exam_attempt,
get_active_exams_for_user, get_active_exams_for_user,
get_exam_attempt, get_exam_attempt,
create_exam_attempt, create_exam_attempt
get_student_view) )
from edx_proctoring.exceptions import ( from edx_proctoring.exceptions import (
ProctoredExamAlreadyExists, ProctoredExamAlreadyExists,
ProctoredExamNotFoundException, ProctoredExamNotFoundException,
StudentExamAttemptAlreadyExistsException, StudentExamAttemptAlreadyExistsException,
StudentExamAttemptDoesNotExistsException, StudentExamAttemptDoesNotExistsException,
StudentExamAttemptedAlreadyStarted) StudentExamAttemptedAlreadyStarted
)
from edx_proctoring.models import ( from edx_proctoring.models import (
ProctoredExam, ProctoredExam,
ProctoredExamStudentAllowance, ProctoredExamStudentAllowance,
...@@ -294,7 +295,3 @@ class ProctoredExamApiTests(LoggedInTestCase): ...@@ -294,7 +295,3 @@ class ProctoredExamApiTests(LoggedInTestCase):
self.assertEqual(len(student_active_exams), 2) self.assertEqual(len(student_active_exams), 2)
self.assertEqual(len(student_active_exams[0]['allowances']), 2) self.assertEqual(len(student_active_exams[0]['allowances']), 2)
self.assertEqual(len(student_active_exams[1]['allowances']), 0) self.assertEqual(len(student_active_exams[1]['allowances']), 0)
def test_get_student_view(self):
context = {'default_time_limit_mins': 90}
get_student_view(self.user_id, self.course_id, self.content_id, context)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment