(self)
| 103 | self.assertEqual(output, '<p>foo</p>') |
| 104 | |
| 105 | def testFileObjects(self): |
| 106 | infile = BytesIO(bytes('foo', encoding='utf-8')) |
| 107 | outfile = BytesIO() |
| 108 | markdown.markdownFromFile(input=infile, output=outfile) |
| 109 | outfile.seek(0) |
| 110 | self.assertEqual(outfile.read().decode('utf-8'), '<p>foo</p>') |
| 111 | |
| 112 | def testStdinStdout(self): |
| 113 | markdown.markdownFromFile() |
nothing calls this directly
no outgoing calls
no test coverage detected