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

Function test_log

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

Source from the content-addressed store, hash-verified

52
53
54def test_log(testrepo: Repository) -> None:
55 ref = testrepo.lookup_reference('HEAD')
56 for i, entry in enumerate(ref.log()):
57 assert entry.committer.name == REVLOGS[i][0]
58 assert entry.message == REVLOGS[i][1]
59
60
61def test_walk(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…