MCPcopy
hub / github.com/django/django / test_comment_root

Method test_comment_root

tests/test_utils/tests.py:1259–1262  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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"

Callers

nothing calls this directly

Calls 1

assertXMLEqualMethod · 0.80

Tested by

no test coverage detected