Lines Matching refs:ET
11 import xml.etree.ElementTree as ET namespace
86 eleTestcase = ET.SubElement(
99 ET.SubElement(eleTestcase, ReportStatus.SKIP, type=f"{tc_type}", message=f"{reason}")
102 el = ET.SubElement(eleTestcase, ReportStatus.FAIL, type="failure", message=f"{reason}")
107 el = ET.SubElement(eleTestcase, ReportStatus.ERROR, type="failure", message=f"{reason}")
114 ET.SubElement(eleTestcase, ReportStatus.SKIP, type="build", message="built only")
121 ET.SubElement(
143 eleTestsuites = ET.Element('testsuites')
155 eleTestsuite = ET.SubElement(eleTestsuites, 'testsuite',
161 eleTSPropetries = ET.SubElement(eleTestsuite, 'properties')
164 ET.SubElement(eleTSPropetries, 'property', name="version", value=version)
165 ET.SubElement(eleTSPropetries, 'property', name="platform", value=suite.get("platform"))
166 ET.SubElement(eleTSPropetries, 'property', name="architecture", value=suite.get("arch"))
194 ET.indent(eleTestsuites, space="\t", level=0)
195 result = ET.tostring(eleTestsuites)
215 eleTestsuites = ET.Element('testsuites')
229 eleTestsuite = ET.SubElement(eleTestsuites, 'testsuite',
236 eleTSPropetries = ET.SubElement(eleTestsuite, 'properties')
239 ET.SubElement(eleTSPropetries, 'property', name="version", value=version)
284 ET.indent(eleTestsuites, space="\t", level=0)
285 result = ET.tostring(eleTestsuites)