(testrepo: Repository)
| 281 | |
| 282 | |
| 283 | def test_refs_equality(testrepo: Repository) -> None: |
| 284 | ref1 = testrepo.references.get('refs/heads/master') |
| 285 | ref2 = testrepo.references.get('refs/heads/master') |
| 286 | ref3 = testrepo.references.get('refs/heads/i18n') |
| 287 | |
| 288 | assert ref1 is not ref2 |
| 289 | assert ref1 == ref2 |
| 290 | assert not ref1 != ref2 |
| 291 | |
| 292 | assert ref1 != ref3 |
| 293 | assert not ref1 == ref3 |
| 294 | |
| 295 | |
| 296 | def test_refs_compress(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…