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

Function test_revparse_1

test/test_revparse.py:58–62  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

56
57
58def test_revparse_1(testrepo: Repository) -> None:
59 s = testrepo.revparse('master')
60 assert s.from_object.id == HEAD_SHA
61 assert s.to_object is None
62 assert s.flags == RevSpecFlag.SINGLE
63
64
65def test_revparse_range_1(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…