(testrepo: Repository)
| 577 | |
| 578 | |
| 579 | def test_get_shorthand(testrepo: Repository) -> None: |
| 580 | reference = testrepo.lookup_reference('refs/heads/master') |
| 581 | assert reference.shorthand == 'master' |
| 582 | reference = testrepo.create_reference('refs/remotes/origin/master', LAST_COMMIT) |
| 583 | assert reference.shorthand == 'origin/master' |
| 584 | |
| 585 | |
| 586 | def test_set_target_with_message(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…