Test loading a non Extension object as an extension.
(self)
| 409 | self.assertRaises(AttributeError, markdown.Markdown, extensions=['markdown.util']) |
| 410 | |
| 411 | def testNonExtension(self): |
| 412 | """ Test loading a non Extension object as an extension. """ |
| 413 | self.assertRaises(TypeError, markdown.Markdown, extensions=[object]) |
| 414 | |
| 415 | def testDotNotationExtensionWithBadClass(self): |
| 416 | """ Test Extension loading with non-existent class name (`path.to.module:Class`). """ |
nothing calls this directly
no outgoing calls
no test coverage detected