(testrepo: Repository)
| 642 | |
| 643 | |
| 644 | def test_ident_get_set(testrepo: Repository) -> None: |
| 645 | # By default, reflog identity should be unset. |
| 646 | assert testrepo.ident == (None, None) |
| 647 | |
| 648 | cname = 'C O Mitter' |
| 649 | cemail = 'committer@example.com' |
| 650 | testrepo.set_ident(cname, cemail) |
| 651 | assert testrepo.ident == (cname, cemail) |
| 652 | |
| 653 | testrepo.set_ident(None, None) |
| 654 | assert testrepo.ident == (None, None) |
| 655 | |
| 656 | |
| 657 | def test_new_repo(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…