Known subclasses: twisted.web.test.test_flatten.SerializationTests

Test mixin defining a method for comparing serialized XML documents.

Must be mixed in to a test case.

Method assertXMLEqual Verify that two strings represent the same XML document.
def assertXMLEqual(self, first, second):

Verify that two strings represent the same XML document.

ParametersfirstAn XML string. (type: bytes)
secondAn XML string that should match first. (type: bytes)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.