'Test course has entrance exam id set while resetting attempts'

@patch.dict(settings.FEATURES, {'ENTRANCE_EXAMS': True})
def test_course_has_entrance_exam_in_student_attempts_reset(self):

    url = reverse('reset_student_attempts_for_entrance_exam', kwargs={'course_id': unicode(self.course.id)})
    response = self.client.post(url, {'all_students': True, 'delete_module': False})
    self.assertEqual(response.status_code, 400)
