'Verify that learner can get the financial aid for the course in which
he/she is enrolled in audit mode whereas the course provide verified mode.'

def test_financial_assistance_form(self):

    course = CourseFactory.create().id
    CourseModeFactory.create(mode_slug=CourseMode.AUDIT, course_id=course)
    CourseModeFactory.create(mode_slug=CourseMode.VERIFIED, course_id=course)
    CourseEnrollmentFactory(course_id=course, user=self.user, mode=CourseMode.AUDIT)
    CourseOverview.get_from_id(course)
    url = reverse('financial_assistance_form')
    response = self.client.get(url)
    self.assertEqual(response.status_code, 200)
    self.assertIn(str(course), response.content)
