def test_strip_text(self): tree = domdom.parseString(self.basicXML) self.assertEquals(strip_text(get_text(tree)), 'asdfzdtvuuu')
def test_get_text(self): tree = domdom.parseString(self.basicXML) self.assertEquals(get_text(tree), 'A34sdf888]zdTV8u8u8u')