MCPcopy
hub / github.com/Python-Markdown/markdown / testInputFileOption

Method testInputFileOption

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

Source from the content-addressed store, hash-verified

789 self.assertEqual(logging_level, DEBUG)
790
791 def testInputFileOption(self):
792 options, logging_level = parse_options(['foo.txt'])
793 self.default_options['input'] = 'foo.txt'
794 self.assertEqual(options, self.default_options)
795
796 def testOutputFileOption(self):
797 options, logging_level = parse_options(['-f', 'foo.html'])

Callers

nothing calls this directly

Calls 1

parse_optionsFunction · 0.90

Tested by

no test coverage detected