(tmp_path: Path)
| 24 | |
| 25 | |
| 26 | def _init_repo(tmp_path: Path) -> Path: |
| 27 | repo = tmp_path / "repo" |
| 28 | repo.mkdir() |
| 29 | _git(repo, "init") |
| 30 | _git(repo, "config", "user.name", "Test User") |
| 31 | _git(repo, "config", "user.email", "test@example.com") |
| 32 | return repo |
| 33 | |
| 34 | |
| 35 | def _commit_file(repo: Path, relpath: str, content: str, message: str) -> str: |
no test coverage detected