(self)
| 510 | self.assertEqual(expected, self.prettify(xml)) |
| 511 | |
| 512 | def testPreCodeWithText(self): |
| 513 | xml = "<pre><code> hello</code></pre>" |
| 514 | expected = "<pre><code> hello\n</code></pre>\n" |
| 515 | self.assertEqual(expected, self.prettify(xml)) |
| 516 | |
| 517 | def testPreCodeWithTrailingSpace(self): |
| 518 | xml = "<pre><code> hello </code></pre>" |