MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / testLoadBadExtension

Method testLoadBadExtension

tests/test_apis.py:383–385  ·  view source on GitHub ↗

Test loading of an Extension with no makeExtension function.

(self)

Source from the content-addressed store, hash-verified

381 )
382
383 def testLoadBadExtension(self):
384 """ Test loading of an Extension with no makeExtension function. """
385 self.assertRaises(AttributeError, markdown.Markdown, extensions=['markdown.util'])
386
387 def testNonExtension(self):
388 """ Test loading a non Extension object as an extension. """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected