(testrepo: Repository)
| 685 | |
| 686 | |
| 687 | def test_create_reference_with_message(testrepo: Repository) -> None: |
| 688 | sig = Signature('foo', 'bar') |
| 689 | testrepo.set_ident('foo', 'bar') |
| 690 | msg = 'Hello log' |
| 691 | reference = testrepo.create_reference( |
| 692 | 'refs/heads/feature', LAST_COMMIT, message=msg |
| 693 | ) |
| 694 | first = list(reference.log())[0] |
| 695 | assert first.message == msg |
| 696 | assert first.committer == sig |
| 697 | |
| 698 | |
| 699 | def test_create_symbolic_reference(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…