(repo: Repository)
| 119 | |
| 120 | |
| 121 | def test_compress(repo: Repository) -> None: |
| 122 | repo = repo |
| 123 | packed_refs_file = Path(repo.path) / 'packed-refs' |
| 124 | assert not packed_refs_file.exists() |
| 125 | repo.backend.compress() |
| 126 | assert packed_refs_file.exists() |
| 127 | |
| 128 | |
| 129 | def test_has_log(repo: Repository) -> None: |