Commit fe892365 by Afzal Wali

Coverage brought up to 100% except for the unimplemented part of the get_student_view api.

parent 2ced6baa
......@@ -175,7 +175,8 @@ class ProctoredExamView(AuthenticatedAPIView):
status=status.HTTP_400_BAD_REQUEST,
data={"detail": "The exam_id does not exist."}
)
elif course_id is not None and content_id is not None:
else:
# get by course_id & content_id
try:
return Response(
data=get_exam_by_content_id(course_id, content_id),
......
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