Commit 295142d5 by Muhammad Shoaib

quality fix and small style adjustments

parent 940d24bc
...@@ -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>
......
# 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.
""" """
......
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