'Test settings for disabling and modifying navigation chrome in the courseware:
- Accordion enabled, or disabled
- Navigation tabs enabled, disabled, or redirected'

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

    (email, password) = self.STUDENT_INFO[0]
    self.login(email, password)
    self.enroll(self.course, True)
    test_data = (('tabs', False, True), ('none', False, False), ('fullchrome', True, True), ('accordion', True, False), ('fullchrome', True, True))
    for (displayname, accordion, tabs) in test_data:
        response = self.client.get(reverse('courseware_section', kwargs={'course_id': self.course.id.to_deprecated_string(), 'chapter': 'Chrome', 'section': displayname}))
        self.assertEquals(('course-tabs' in response.content), tabs)
        self.assertEquals(('course-navigation' in response.content), accordion)
    self.assertTabInactive('progress', response)
    self.assertTabActive('courseware', response)
    response = self.client.get(reverse('courseware_section', kwargs={'course_id': self.course.id.to_deprecated_string(), 'chapter': 'Chrome', 'section': 'progress_tab'}))
    self.assertTabActive('progress', response)
    self.assertTabInactive('courseware', response)
