'Asserts courseware chapter load successfully.'

def _assert_chapter_loaded(self, course, chapter):

    url = reverse('courseware_chapter', kwargs={'course_id': unicode(course.id), 'chapter': chapter.url_name})
    response = self.client.get(url)
    self.assertEqual(response.status_code, 200)
