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

Method testStdinStdout

tests/test_apis.py:112–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 self.assertEqual(outfile.read().decode('utf-8'), '<p>foo</p>')
111
112 def testStdinStdout(self):
113 markdown.markdownFromFile()
114 sys.stdout.seek(0)
115 self.assertEqual(sys.stdout.read(), '<p>foo</p>')
116
117
118class TestBlockParser(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected