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

Method testSimpleInput

tests/test_apis.py:57–59  ·  view source on GitHub ↗

Test simple input.

(self)

Source from the content-addressed store, hash-verified

55 self.assertEqual(self.md.convert(' '), '')
56
57 def testSimpleInput(self):
58 """ Test simple input. """
59 self.assertEqual(self.md.convert('foo'), '<p>foo</p>')
60
61 def testInstanceExtension(self):
62 """ Test Extension loading with a class instance. """

Callers

nothing calls this directly

Calls 1

convertMethod · 0.80

Tested by

no test coverage detected