Test failure of an extension to load.
(self)
| 398 | self.assertRaises(KeyError, markdown.Markdown, output_format='invalid') |
| 399 | |
| 400 | def testLoadExtensionFailure(self): |
| 401 | """ Test failure of an extension to load. """ |
| 402 | self.assertRaises( |
| 403 | ImportError, |
| 404 | markdown.Markdown, extensions=['non_existent_ext'] |
| 405 | ) |
| 406 | |
| 407 | def testLoadBadExtension(self): |
| 408 | """ Test loading of an Extension with no makeExtension function. """ |
nothing calls this directly
no outgoing calls
no test coverage detected