def test_as_etree(self): doc = XMLFeatureInfoDoc('<root>hello</root>') eq_(doc.as_etree().getroot().text, 'hello')
def test_as_etree(self): doc = XMLFeatureInfoDoc("<root>hello</root>") assert doc.as_etree().getroot().text == "hello"