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

Function test_iterate_notes

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

Source from the content-addressed store, hash-verified

74
75
76def test_iterate_notes(barerepo: Repository) -> None:
77 for i, note in enumerate(barerepo.notes()):
78 note_id, message, annotated_id = NOTES[i]
79 assert note_id == note.id
80 assert message == note.message
81 assert annotated_id == note.annotated_id
82
83
84def test_iterate_non_existing_ref(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…