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

Function test_refs_resolve_identity

test/test_refs.py:218–222  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

216
217
218def test_refs_resolve_identity(testrepo: Repository) -> None:
219 head = testrepo.references.get('HEAD')
220 assert head is not None
221 ref = head.resolve()
222 assert ref.resolve() is ref
223
224
225def test_refs_create(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…