'Test rescoring of a single student.'

@patch.object(lms.djangoapps.instructor_task.api, 'submit_rescore_problem_for_student')
def test_rescore_problem_single(self, act):

    url = reverse('rescore_problem', kwargs={'course_id': self.course.id.to_deprecated_string()})
    response = self.client.post(url, {'problem_to_reset': self.problem_urlname, 'unique_student_identifier': self.student.email})
    self.assertEqual(response.status_code, 200)
    self.assertTrue(act.called)
