(
testrepo: Repository, tmp_path: Path
)
| 35 | |
| 36 | @pytest.fixture |
| 37 | def clonerepo( |
| 38 | testrepo: Repository, tmp_path: Path |
| 39 | ) -> Generator[Repository, None, None]: |
| 40 | cloned_repo_path = tmp_path / 'test_remote_prune' |
| 41 | |
| 42 | pygit2.clone_repository(testrepo.workdir, cloned_repo_path) |
| 43 | clonerepo = pygit2.Repository(cloned_repo_path) |
| 44 | testrepo.branches.delete('i18n') |
| 45 | yield clonerepo |
| 46 | |
| 47 | |
| 48 | def test_fetch_remote_default(clonerepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…