(self, url, expected_title)
| 407 | pkgutil.walk_packages = walk_packages |
| 408 | |
| 409 | def call_url_handler(self, url, expected_title): |
| 410 | text = pydoc._url_handler(url, "text/html") |
| 411 | result = get_html_title(text) |
| 412 | # Check the title to ensure an unexpected error page was not returned |
| 413 | self.assertEqual(result, expected_title, text) |
| 414 | return text |
| 415 | |
| 416 | |
| 417 | class PydocDocTest(unittest.TestCase): |
no test coverage detected