def assertXMLEqual(self, xml1, xml2, msg=None):
        try:
            result = compare_xml(xml1, xml2)
        except Exception as e:
            standardMsg = 'First or second argument is not valid XML\n%s' % e
            self.fail(self._formatMessage(msg, standardMsg))
        else:
            if not result:
                standardMsg = '%s != %s' % (safe_repr(xml1, True), safe_repr(xml2, True))
                self.fail(self._formatMessage(msg, standardMsg))


# https://github.com/django/django/blob/1.6a1/django/test/utils.py
Call a single salt function
dataset/ETHPy150Open Starou/SimpleIDML/src/simple_idml/test.py/SimpleTestCase.assertXMLEqual--crossover with--dataset/ETHPy150Open saltstack/salt/salt/client/__init__.py/Caller.function