'Test courseware access page without passing entrance exam but with staff user'

@patch('util.milestones_helpers.get_required_content', Mock(return_value=['a    value']))
def test_courseware_page_access_with_staff_user_without_passing_entrance_exam(self):

    self.logout()
    staff_user = StaffFactory.create(course_key=self.course.id)
    self.login(staff_user.email, 'test')
    CourseEnrollmentFactory(user=staff_user, course_id=self.course.id)
    self._assert_chapter_loaded(self.course, self.chapter)
