'Check the course information on the page.'

def _assert_course_details(self, response, course_key, display_name, url):

    response_dict = self._get_page_data(response)
    self.assertEqual(response_dict['course_key'], course_key)
    self.assertEqual(response_dict['course_name'], display_name)
    self.assertEqual(response_dict['courseware_url'], url)
