mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
fixup! 83418f09f2
This commit is contained in:
parent
4a4bf7c571
commit
bba427d619
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ def test_store_signatures_with_different_digests(
|
||||||
|
|
||||||
# Mock get_last_log_index
|
# Mock get_last_log_index
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
|
"dangerzone.updater.signatures.get_last_log_index",
|
||||||
|
return_value=50,
|
||||||
|
)
|
||||||
|
|
||||||
# Call store_signatures
|
# Call store_signatures
|
||||||
with pytest.raises(errors.SignatureMismatch):
|
with pytest.raises(errors.SignatureMismatch):
|
||||||
store_signatures(signatures, image_digest, TEST_PUBKEY_PATH)
|
store_signatures(signatures, image_digest, TEST_PUBKEY_PATH)
|
||||||
|
|
Loading…
Reference in a new issue