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

Function test_reference_resolve_identity

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

Source from the content-addressed store, hash-verified

658
659
660def test_reference_resolve_identity(testrepo: Repository) -> None:
661 head = testrepo.lookup_reference('HEAD')
662 ref = head.resolve()
663 assert ref.resolve() is ref
664
665
666def test_create_reference(testrepo: 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…