(gpgsigned: Repository)
| 135 | |
| 136 | |
| 137 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…