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

Method testEncodingOption

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

Source from the content-addressed store, hash-verified

864 self.assertEqual(options, self.default_options)
865
866 def testEncodingOption(self):
867 options, logging_level = parse_options(['-e', 'utf-8'])
868 self.default_options['encoding'] = 'utf-8'
869 self.assertEqual(options, self.default_options)
870
871 def testOutputFormatOption(self):
872 options, logging_level = parse_options(['-o', 'html'])

Callers

nothing calls this directly

Calls 1

parse_optionsFunction · 0.90

Tested by

no test coverage detected