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

Method testInstanceExtension

tests/test_apis.py:85–88  ·  view source on GitHub ↗

Test Extension loading with a class instance.

(self)

Source from the content-addressed store, hash-verified

83 self.assertEqual(inline.stashed_nodes, {})
84
85 def testInstanceExtension(self):
86 """ Test Extension loading with a class instance. """
87 from markdown.extensions.footnotes import FootnoteExtension
88 markdown.Markdown(extensions=[FootnoteExtension()])
89
90 def testEntryPointExtension(self):
91 """ Test Extension loading with an entry point. """

Callers

nothing calls this directly

Calls 1

FootnoteExtensionClass · 0.90

Tested by

no test coverage detected