Test `BlockParser.parseChunk`.
(self)
| 147 | self.parser = markdown.Markdown().parser |
| 148 | |
| 149 | def testParseChunk(self): |
| 150 | """ Test `BlockParser.parseChunk`. """ |
| 151 | root = etree.Element("div") |
| 152 | text = 'foo' |
| 153 | self.parser.parseChunk(root, text) |
| 154 | self.assertEqual( |
| 155 | markdown.serializers.to_xhtml_string(root), |
| 156 | "<div><p>foo</p></div>" |
| 157 | ) |
| 158 | |
| 159 | def testParseDocument(self): |
| 160 | """ Test `BlockParser.parseDocument`. """ |
nothing calls this directly
no test coverage detected