Lines Matching refs:ET
15 import xml.etree.ElementTree as ET namespace
185 top = ET.Element('testsuites')
186 suite = ET.SubElement(top, 'testsuite')
198 testcase = ET.SubElement(suite, 'testcase')
206 result = ET.SubElement(testcase, 'failure')
208 result = ET.SubElement(testcase, 'error')
213 result = ET.SubElement(testcase, 'skipped')
219 measurement = ET.SubElement(testcase, data['type'])
224 ET.SubElement(measurement, 'time',
228 ET.SubElement(measurement, 'iostat', attrib=attrib)
230 ET.SubElement(measurement, 'rusage', attrib=attrib)
232 ET.SubElement(measurement, 'size').text = str(vals['size'])
239 dom_doc = minidom.parseString(ET.tostring(top, 'utf-8'))