(self)
| 27 | |
| 28 | class TestReSTDocument(unittest.TestCase): |
| 29 | def test_write(self): |
| 30 | doc = ReSTDocument() |
| 31 | doc.write('foo') |
| 32 | self.assertEqual(doc.getvalue(), b'foo') |
| 33 | |
| 34 | def test_writeln(self): |
| 35 | doc = ReSTDocument() |
nothing calls this directly
no test coverage detected