(mergerepo: Repository)
| 92 | |
| 93 | |
| 94 | def test_merge_invalid_hex(mergerepo: Repository) -> None: |
| 95 | branch_head_hex = '12345678' |
| 96 | with ( |
| 97 | pytest.raises(KeyError), |
| 98 | pytest.warns(DeprecationWarning, match=r'Pass Commit.+instead'), |
| 99 | ): |
| 100 | mergerepo.merge(branch_head_hex) |
| 101 | |
| 102 | |
| 103 | def test_merge_already_something_in_index(mergerepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…