(root_dir, xml_file, xml_content)
| 270 | """ |
| 271 | |
| 272 | def write_xml_file(root_dir, xml_file, xml_content): |
| 273 | shutil.rmtree(root_dir, ignore_errors=True) |
| 274 | file = root_dir / xml_file |
| 275 | file.parent.mkdir(parents=True) |
| 276 | with open(file, "w") as f: |
| 277 | f.write(textwrap.dedent(xml_content)) |
| 278 | |
| 279 | git = TempGit(tmpdir_factory.mktemp("tmp_git_dir")) |
| 280 | pr_test_report_dir = Path(git.cwd) / "pr-reports" |
no test coverage detected
searching dependent graphs…