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

Method testStdinStdout

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

Source from the content-addressed store, hash-verified

134 self.assertEqual(outfile.read().decode('utf-8'), '<p>foo</p>')
135
136 def testStdinStdout(self):
137 markdown.markdownFromFile()
138 sys.stdout.seek(0)
139 self.assertEqual(sys.stdout.read(), '<p>foo</p>')
140
141
142class TestBlockParser(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected