(self)
| 1257 | self.assertXMLNotEqual(xml_unvalid, xml2) |
| 1258 | |
| 1259 | def test_comment_root(self): |
| 1260 | xml1 = "<?xml version='1.0'?><!-- comment1 --><elem attr1='a' attr2='b' />" |
| 1261 | xml2 = "<?xml version='1.0'?><!-- comment2 --><elem attr2='b' attr1='a' />" |
| 1262 | self.assertXMLEqual(xml1, xml2) |
| 1263 | |
| 1264 | def test_simple_equal_with_leading_or_trailing_whitespace(self): |
| 1265 | xml1 = "<elem>foo</elem> \t\n" |
nothing calls this directly
no test coverage detected