-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: launch instructor tool #146
Conversation
2500620
to
55b1d65
Compare
3542982
to
eed3d50
Compare
|
||
self.exam = Exam.objects.create( | ||
resource_id=str(uuid.uuid4()), | ||
self.exam = ExamFactory( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just a refactor to remove more verbose data setup and replace it with factory methods.
32a1f80
to
de9d178
Compare
edx_exams/apps/core/api.py
Outdated
@@ -299,6 +299,17 @@ def get_exam_by_content_id(course_id, content_id): | |||
return None | |||
|
|||
|
|||
def get_exam_by_id(exam_id): | |||
""" | |||
Retrieve an exam filtered by a course_id and content_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: comment does not match what the function is using to filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, otherwise LGTM 👍
MST-1948
Creates a new view that will initiate a basic LTI 1.3 launch into the proctoring vendor's instructor tool. I opted to make this a view since returning the URL just adds an extra step to the UI to fetch it and stick it in an iframe. This way we just load up an iframe with
src=http://edx-exams.edx.org/lti/exam/28/instructor_tool
and this view does the rest.Original concept was to build a generic launch view into the lti-consumer library based on this POC openedx/xblock-lti-consumer#386. That PR documents the issues I found with that approach.