Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
295142d5
Commit
295142d5
authored
Jul 14, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quality fix and small style adjustments
parent
940d24bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
edx_proctoring/static/proctoring/templates/student-proctored-exam-attempts.underscore
+3
-3
edx_proctoring/tests/test_views.py
+2
-1
No files found.
edx_proctoring/static/proctoring/templates/student-proctored-exam-attempts.underscore
View file @
295142d5
...
@@ -157,11 +157,11 @@
...
@@ -157,11 +157,11 @@
<% } %>
<% } %>
<td>
<td>
<% if (proctored_exam_attempt.status){ %>
<% if (proctored_exam_attempt.status){ %>
<td><button type="button" class="remove-attempt blue-button" data-attempt-id="<%= proctored_exam_attempt.id %>" ><%- gettext("Remove") %></button></td>
<a class="remove-attempt" data-attempt-id="<%= proctored_exam_attempt.id %>" >[x]</a>
<% } else { %>
</td>
<% } else { %>
N/A
N/A
<% } %>
<% } %>
</td>
</tr>
</tr>
<% }); %>
<% }); %>
</tbody>
</tbody>
...
...
edx_proctoring/tests/test_views.py
View file @
295142d5
# pylint: disable=too-many-lines
"""
"""
All tests for the proctored_exams.py
All tests for the proctored_exams.py
"""
"""
...
@@ -587,7 +588,7 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase):
...
@@ -587,7 +588,7 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase):
response_data
=
json
.
loads
(
response
.
content
)
response_data
=
json
.
loads
(
response
.
content
)
self
.
assertEqual
(
response_data
[
'exam_attempt_id'
],
old_attempt_id
)
self
.
assertEqual
(
response_data
[
'exam_attempt_id'
],
old_attempt_id
)
def
test_get_exam_attempts
_in_a_course
(
self
):
def
test_get_exam_attempts
(
self
):
"""
"""
Test to get the exam attempts in a course.
Test to get the exam attempts in a course.
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment