(barerepo: Repository)
| 54 | |
| 55 | |
| 56 | def test_head(barerepo: Repository) -> None: |
| 57 | head = barerepo.head |
| 58 | assert HEAD_SHA == head.target |
| 59 | assert type(head) is pygit2.Reference |
| 60 | assert not barerepo.head_is_unborn |
| 61 | assert not barerepo.head_is_detached |
| 62 | |
| 63 | |
| 64 | def test_set_head(barerepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…