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

Function test_get_gpg_signature_when_unsigned

test/test_commit_gpg.py:137–146  ·  view source on GitHub ↗
(gpgsigned: Repository)

Source from the content-addressed store, hash-verified

135
136
137def test_get_gpg_signature_when_unsigned(gpgsigned: Repository) -> None:
138 unhash = '5b5b025afb0b4c913b4c338a42934a3863bf3644'
139
140 repo = gpgsigned
141 commit = repo.get(unhash)
142 assert isinstance(commit, Commit)
143 signature, payload = commit.gpg_signature
144
145 assert signature is None
146 assert payload is None

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…