(self)
| 96 | return infile, outfile, outfd |
| 97 | |
| 98 | def testFileNames(self): |
| 99 | infile, outfile, outfd = self.getTempFiles('foo') |
| 100 | markdown.markdownFromFile(input=infile, output=outfile) |
| 101 | with os.fdopen(outfd, 'r') as fp: |
| 102 | output = fp.read() |
| 103 | self.assertEqual(output, '<p>foo</p>') |
| 104 | |
| 105 | def testFileObjects(self): |
| 106 | infile = BytesIO(bytes('foo', encoding='utf-8')) |
nothing calls this directly
no test coverage detected