(path: str)
| 46 | return str(tmp_path.joinpath(*parts)) |
| 47 | |
| 48 | def fake_normalize_a0_path(path: str): |
| 49 | return "/a0/" + str(Path(path).relative_to(tmp_path)).replace("\\", "/") |
| 50 | |
| 51 | monkeypatch.setattr(media_artifacts.files, "get_abs_path", fake_get_abs_path) |
| 52 | monkeypatch.setattr(media_artifacts.files, "normalize_a0_path", fake_normalize_a0_path) |