Test loading a non Extension object as an extension.
(self)
| 385 | self.assertRaises(AttributeError, markdown.Markdown, extensions=['markdown.util']) |
| 386 | |
| 387 | def testNonExtension(self): |
| 388 | """ Test loading a non Extension object as an extension. """ |
| 389 | self.assertRaises(TypeError, markdown.Markdown, extensions=[object]) |
| 390 | |
| 391 | def testDotNotationExtensionWithBadClass(self): |
| 392 | """ Test Extension loading with non-existent class name (`path.to.module:Class`). """ |
nothing calls this directly
no outgoing calls
no test coverage detected