def testEqual(self): th.assertXmlEqual( '<root />', '<root>\n</root>')
def testStarTextMatches(self): a = '<r>*</r>' th.assertXmlEqual(a, '<r></r>') th.assertXmlEqual(a, '<r>hi</r>')
def assertXmlNEq(self, a, b): with self.assertRaises(AssertionError): th.assertXmlEqual(a, b)