Exemplo n.º 1
0
 def test_as_string(self):
     input_tree = etree.fromstring('<root></root>')
     doc = XMLFeatureInfoDoc(input_tree)
     eq_(strip_whitespace(doc.as_string()), b'<root/>')
Exemplo n.º 2
0
 def test_as_string(self):
     input_tree = etree.fromstring('<root></root>')
     doc = XMLFeatureInfoDoc(input_tree)
     eq_(strip_whitespace(doc.as_string()),
         b'<root/>')
Exemplo n.º 3
0
 def test_as_string(self):
     input_tree = etree.fromstring("<root></root>")
     doc = XMLFeatureInfoDoc(input_tree)
     assert strip_whitespace(doc.as_string()) == b"<root/>"