(
barerepo: Repository, tmp_path: Path
)
| 54 | |
| 55 | @pytest.fixture |
| 56 | def emptyrepo( |
| 57 | barerepo: Repository, tmp_path: Path |
| 58 | ) -> Generator[Repository, None, None]: |
| 59 | with utils.TemporaryRepository('emptyrepo.zip', tmp_path) as path: |
| 60 | repo = pygit2.Repository(path) |
| 61 | repo.remotes.create('origin', barerepo.path) |
| 62 | yield repo |
| 63 | |
| 64 | |
| 65 | @pytest.fixture |
nothing calls this directly
no test coverage detected
searching dependent graphs…