def test_as_etree(self): doc = HTMLFeatureInfoDoc('<p>hello</p>') eq_(doc.as_etree().find('body/p').text, 'hello')
def test_as_etree(self): doc = HTMLFeatureInfoDoc("<p>hello</p>") assert doc.as_etree().find("body/p").text == "hello"