Commit a2d52b91 by Chris Dodge Committed by Ned Batchelder

fix test

parent 2d3db92e
...@@ -1053,7 +1053,8 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase): ...@@ -1053,7 +1053,8 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase):
} }
response = self.client.post( response = self.client.post(
reverse('edx_proctoring.proctored_exam.attempt.collection'), reverse('edx_proctoring.proctored_exam.attempt.collection'),
attempt_data json.dumps(attempt_data),
content_type='application/json'
) )
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
...@@ -1063,9 +1064,10 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase): ...@@ -1063,9 +1064,10 @@ class TestStudentProctoredExamAttempt(LoggedInTestCase):
response = self.client.put( response = self.client.put(
reverse('edx_proctoring.proctored_exam.attempt', args=[old_attempt_id]), reverse('edx_proctoring.proctored_exam.attempt', args=[old_attempt_id]),
{ json.dumps({
'action': 'click_download_software', 'action': 'click_download_software',
} }),
content_type='application/json'
) )
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
......
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