'Unit Test: exam passing message and rest of the course section should be present
when user achieves the entrance exam milestone/pass the exam.'

@override_waffle_flag(COURSE_OUTLINE_PAGE_FLAG, active=False)
def test_entrance_exam_passed_message_and_course_content(self):

    url = reverse('courseware_section', kwargs={'course_id': unicode(self.course.id), 'chapter': self.entrance_exam.location.name, 'section': self.exam_1.location.name})
    answer_entrance_exam_problem(self.course, self.request, self.problem_1)
    answer_entrance_exam_problem(self.course, self.request, self.problem_2)
    resp = self.client.get(url)
    self.assertNotIn('To    access    course    materials,    you    must    score', resp.content)
    self.assertIn('Your    score    is    100%.    You    have    passed    the    entrance    exam.', resp.content)
    self.assertIn('Lesson    1', resp.content)
