'Helper to load the actual courseware page.'

def _load_courseware(self, user_agent):

    url = reverse('courseware_section', kwargs={'course_id': unicode(self.course.id), 'chapter': unicode(self.chapter.location.name), 'section': unicode(self.section.location.name)})
    response = self.client.get(url, HTTP_USER_AGENT=user_agent)
    self.assertEqual(response.status_code, 200)
