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

Method testWhitespaceOnly

tests/test_apis.py:53–55  ·  view source on GitHub ↗

Test input of only whitespace.

(self)

Source from the content-addressed store, hash-verified

51 self.assertEqual(self.md.convert(''), '')
52
53 def testWhitespaceOnly(self):
54 """ Test input of only whitespace. """
55 self.assertEqual(self.md.convert(' '), '')
56
57 def testSimpleInput(self):
58 """ Test simple input. """

Callers

nothing calls this directly

Calls 1

convertMethod · 0.80

Tested by

no test coverage detected