(testrepo: Repository)
| 114 | |
| 115 | |
| 116 | def test_branches_rename_invalid(testrepo: Repository) -> None: |
| 117 | original_branch = testrepo.branches.get('i18n') |
| 118 | with pytest.raises(ValueError): |
| 119 | original_branch.rename('abc@{123') |
| 120 | |
| 121 | |
| 122 | def test_branches_name(testrepo: Repository) -> None: |