'Verify the accordion remembers which chapter you were last viewing.'

def test_accordion_state(self):

    (email, password) = self.STUDENT_INFO[0]
    self.login(email, password)
    self.enroll(self.course, True)
    self.enroll(self.test_course, True)
    section_url = reverse('courseware_section', kwargs={'course_id': self.course.id.to_deprecated_string(), 'chapter': 'factory_chapter', 'section': 'factory_section'})
    self.assert_request_status_code(200, section_url)
    url = reverse('courseware', kwargs={'course_id': self.course.id.to_deprecated_string()})
    resp = self.client.get(url)
    self.assertRedirects(resp, section_url)
