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

Function test_branch_rename_fails_with_invalid_names

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

Source from the content-addressed store, hash-verified

255
256
257def test_branch_rename_fails_with_invalid_names(testrepo: Repository) -> None:
258 original_branch = testrepo.lookup_branch('i18n')
259 with pytest.raises(ValueError):
260 original_branch.rename('abc@{123')
261
262
263def test_branch_name(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

renameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…