'Verifies that the navigation state is as expected.'

def assert_navigation_state(self, section_title, subsection_title, subsection_position, next_enabled, prev_enabled):

    self.assertTrue(self.courseware_page.nav.is_on_section(section_title, subsection_title))
    self.assertEquals(self.courseware_page.sequential_position, subsection_position)
    self.assertEquals(self.courseware_page.is_next_button_enabled, next_enabled)
    self.assertEquals(self.courseware_page.is_previous_button_enabled, prev_enabled)
