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

Function test_branches_remote_getitem

test/test_branch_empty.py:54–56  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

52
53
54def test_branches_remote_getitem(repo: Repository) -> None:
55 branch = repo.branches.remote['origin/master']
56 assert branch.remote_name == 'origin'
57
58
59def test_branches_upstream(repo: Repository) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…