'Test delete single student entrance exam state.'

def test_entrance_exam_student_delete_state(self):

    url = reverse('reset_student_attempts_for_entrance_exam', kwargs={'course_id': unicode(self.course.id)})
    response = self.client.post(url, {'unique_student_identifier': self.student.email, 'delete_module': True})
    self.assertEqual(response.status_code, 200)
    changed_modules = StudentModule.objects.filter(module_state_key__in=self.ee_modules)
    self.assertEqual(changed_modules.count(), 0)
