示例#1
0
 def test_as_etree(self):
     doc = HTMLFeatureInfoDoc('<p>hello</p>')
     eq_(doc.as_etree().find('body/p').text, 'hello')
示例#2
0
 def test_as_etree(self):
     doc = HTMLFeatureInfoDoc('<p>hello</p>')
     eq_(doc.as_etree().find('body/p').text, 'hello')
示例#3
0
 def test_as_etree(self):
     doc = HTMLFeatureInfoDoc("<p>hello</p>")
     assert doc.as_etree().find("body/p").text == "hello"