(emptyrepo: Repository)
| 270 | |
| 271 | |
| 272 | def test_fetch(emptyrepo: Repository) -> None: |
| 273 | remote = emptyrepo.remotes[0] |
| 274 | stats = remote.fetch() |
| 275 | assert stats.received_bytes > 2700 |
| 276 | assert stats.received_bytes < 3100 |
| 277 | assert stats.indexed_objects == REMOTE_REPO_OBJECTS |
| 278 | assert stats.received_objects == REMOTE_REPO_OBJECTS |
| 279 | |
| 280 | |
| 281 | @utils.requires_network |
nothing calls this directly
no test coverage detected
searching dependent graphs…