(testrepo: Repository)
| 236 | |
| 237 | |
| 238 | def test_branch_rename_succeeds(testrepo: Repository) -> None: |
| 239 | branch = testrepo.lookup_branch('i18n') |
| 240 | assert branch.rename('new-branch').target == I18N_LAST_COMMIT |
| 241 | assert testrepo.lookup_branch('new-branch').target == I18N_LAST_COMMIT |
| 242 | |
| 243 | |
| 244 | def test_branch_rename_fails_if_destination_already_exists( |
nothing calls this directly
no test coverage detected
searching dependent graphs…