'Mark the user as having failed both requirements. Requirements are only displayed
for credit and verified enrollments.'

def test_credit_requirements_not_eligible(self):

    credit_api.set_credit_requirement_status(self.user, self.course.id, 'reverification', 'midterm', status='failed', reason={})
    response = self._get_progress_page()
    self.assertContains(response, self.MIN_GRADE_REQ_DISPLAY)
    self.assertContains(response, self.VERIFICATION_REQ_DISPLAY)
    self.assertContains(response, '{},    you    are    no    longer    eligible    for    credit    in    this    course.'.format(self.USER_FULL_NAME))
    self.assertContains(response, 'Verification    Failed')
