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

Method assertParses

tests/test_apis.py:736–737  ·  view source on GitHub ↗
(self, value, result)

Source from the content-addressed store, hash-verified

734
735class TestConfigParsing(unittest.TestCase):
736 def assertParses(self, value, result):
737 self.assertIs(markdown.util.parseBoolValue(value, False), result)
738
739 def testBooleansParsing(self):
740 self.assertParses(True, True)

Callers 1

testBooleansParsingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected