MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_branches_rename_invalid

Function test_branches_rename_invalid

test/test_branch.py:116–119  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

114
115
116def 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
122def test_branches_name(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
renameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…