(barerepo: Repository)
| 356 | |
| 357 | |
| 358 | def test_diff_patchid(barerepo: Repository) -> None: |
| 359 | commit_a = barerepo[COMMIT_SHA1_1] |
| 360 | commit_b = barerepo[COMMIT_SHA1_2] |
| 361 | diff = commit_a.tree.diff_to_tree(commit_b.tree) |
| 362 | assert diff.patch == PATCH |
| 363 | assert diff.patchid == PATCHID |
| 364 | |
| 365 | |
| 366 | def test_hunk_content(barerepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…