(testrepo: Repository)
| 102 | |
| 103 | |
| 104 | def test_branches_rename_error(testrepo: Repository) -> None: |
| 105 | original_branch = testrepo.branches.get('i18n') |
| 106 | with pytest.raises(ValueError): |
| 107 | original_branch.rename('master') |
| 108 | |
| 109 | |
| 110 | def test_branches_rename_force(testrepo: Repository) -> None: |