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

Function test_lookup_note

test/test_note.py:60–64  ·  view source on GitHub ↗
(barerepo: Repository)

Source from the content-addressed store, hash-verified

58
59
60def test_lookup_note(barerepo: Repository) -> None:
61 annotated_id = str(barerepo.head.target)
62 note = barerepo.lookup_note(annotated_id)
63 assert NOTES[0][0] == note.id
64 assert NOTES[0][1] == note.message
65
66
67def test_remove_note(barerepo: 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…