Lines Matching refs:xml
23 import xml.dom.minidom
38 self.xml = io.BytesIO()
41 got = xml.dom.minidom.parseString(got).toprettyxml()
42 expected = xml.dom.minidom.parseString(expected).toprettyxml()
47 self.merger.write(self.xml)
48 self.assert_same_xml(self.xml.getvalue(), "<config />")
52 self.merger.write(self.xml)
53 …self.assert_same_xml(self.xml.getvalue(), '<config><compat-change id="1234" name="TEST_CHANGE" /><…
58 self.merger.write(self.xml)
59 self.assert_same_xml(self.xml.getvalue(),
69 self.merger.write(self.xml)
70 self.assert_same_xml(self.xml.getvalue(), b'<config>'
79 self.merger.write_device_config(self.xml)
80 self.assert_same_xml(self.xml.getvalue(), b'<config>'
89 self.merger.write(self.xml)
96 self.merger.write(self.xml)
102 self.merger.write(self.xml)
108 self.merger.write(self.xml)