Exemple #1
0
 def test_as_etree(self):
     doc = HTMLFeatureInfoDoc('<p>hello</p>')
     eq_(doc.as_etree().find('body/p').text, 'hello')
Exemple #2
0
 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"