(self, xml_data: list[str])
| 169 | return (tuple(tests), match_tests_dict) |
| 170 | |
| 171 | def add_junit(self, xml_data: list[str]) -> None: |
| 172 | import xml.etree.ElementTree as ET |
| 173 | for e in xml_data: |
| 174 | try: |
| 175 | self.testsuite_xml.append(ET.fromstring(e)) |
| 176 | except ET.ParseError: |
| 177 | print(xml_data, file=sys.__stderr__) |
| 178 | raise |
| 179 | |
| 180 | def write_junit(self, filename: StrPath) -> None: |
| 181 | if not self.testsuite_xml: |
no test coverage detected