(self)
| 127 | self.assertEqual(output, '<p>foo</p>') |
| 128 | |
| 129 | def testFileObjects(self): |
| 130 | infile = BytesIO(bytes('foo', encoding='utf-8')) |
| 131 | outfile = BytesIO() |
| 132 | markdown.markdownFromFile(input=infile, output=outfile) |
| 133 | outfile.seek(0) |
| 134 | self.assertEqual(outfile.read().decode('utf-8'), '<p>foo</p>') |
| 135 | |
| 136 | def testStdinStdout(self): |
| 137 | markdown.markdownFromFile() |
nothing calls this directly
no outgoing calls
no test coverage detected