'This needs a response_context, which is not included in the render_accordion\'s main method
returning a render_to_string, so we will render via the courseware URL in order to include
the needed context'

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

    course_id = quote(unicode(self.course.id).encode('utf-8'))
    response = self.client.get(reverse('courseware', args=[unicode(course_id)]), follow=True)
    test_responses = ['<p    class="accordion-display-name">Sequential    1    <span    class="sr">current    section</span></p>', '<p    class="accordion-display-name">Sequential    2    </p>']
    for test in test_responses:
        self.assertContains(response, test)
