def test_has_page_loading_error(self):
     page_error = get_chapter_errors('file://' + os.path.realpath("test_has_page_error.html"))
     self.assertRaises('HTTP Error 500: Internal Server Error', page_error)
 def test_has_none_example_errors(self):
     example_errors = get_chapter_errors('file://' + os.path.realpath("test_has_none_example_errors.html"))
     self.assertTrue(example_errors == None)