(testrepo: Repository)
| 288 | |
| 289 | @utils.requires_network |
| 290 | def test_fetch_depth_one(testrepo: Repository) -> None: |
| 291 | remote = testrepo.remotes[0] |
| 292 | stats = remote.fetch(REMOTE_FETCHTEST_FETCHSPECS, depth=1) |
| 293 | assert stats.indexed_objects == REMOTE_REPO_FETCH_HEAD_COMMIT_OBJECTS |
| 294 | assert stats.received_objects == REMOTE_REPO_FETCH_HEAD_COMMIT_OBJECTS |
| 295 | |
| 296 | |
| 297 | def test_transfer_progress(emptyrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…