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

Method testExtensionOption

tests/test_apis.py:881–884  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

879 self.assertEqual(options, self.default_options)
880
881 def testExtensionOption(self):
882 options, logging_level = parse_options(['-x', 'markdown.extensions.footnotes'])
883 self.default_options['extensions'] = ['markdown.extensions.footnotes']
884 self.assertEqual(options, self.default_options)
885
886 def testMultipleExtensionOptions(self):
887 options, logging_level = parse_options([

Callers

nothing calls this directly

Calls 1

parse_optionsFunction · 0.90

Tested by

no test coverage detected