'Test masquerading as a specific user for course info page.
We login with login_staff and check course info page content if it\'s working and then we
set masquerade to view same page as a specific student and test if it\'s working or not.'

@patch.dict('django.conf.settings.FEATURES', {'DISABLE_START_DATES': False})
def test_masquerade_as_specific_student_course_info(self):

    self.login_staff()
    content = self.get_course_info_page().content
    self.assertIn('OOGIE    BLOOGIE', content)
    self.update_masquerade(role='student', user_name=self.student_user.username)
    content = self.get_course_info_page().content
    self.assertIn('OOGIE    BLOOGIE', content)
