コード例 #1
0
 def test_as_etree(self):
     doc = XMLFeatureInfoDoc('<root>hello</root>')
     eq_(doc.as_etree().getroot().text, 'hello')
コード例 #2
0
ファイル: test_featureinfo.py プロジェクト: tjay/mapproxy
 def test_as_etree(self):
     doc = XMLFeatureInfoDoc('<root>hello</root>')
     eq_(doc.as_etree().getroot().text, 'hello')
コード例 #3
0
ファイル: test_featureinfo.py プロジェクト: utidjinn/mapproxy
 def test_as_etree(self):
     doc = XMLFeatureInfoDoc("<root>hello</root>")
     assert doc.as_etree().getroot().text == "hello"