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

Method assertParses

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

Source from the content-addressed store, hash-verified

769
770class TestConfigParsing(unittest.TestCase):
771 def assertParses(self, value, result):
772 self.assertIs(markdown.util.parseBoolValue(value, False), result)
773
774 def testBooleansParsing(self):
775 self.assertParses(True, True)

Callers 1

testBooleansParsingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected