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

Method assertParses

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

Source from the content-addressed store, hash-verified

793
794class TestConfigParsing(unittest.TestCase):
795 def assertParses(self, value, result):
796 self.assertIs(markdown.util.parseBoolValue(value, False), result)
797
798 def testBooleansParsing(self):
799 self.assertParses(True, True)

Callers 1

testBooleansParsingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected