mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
make the signature tests pass
This commit is contained in:
parent
22d01a4045
commit
49c4cee898
1 changed files with 2 additions and 2 deletions
|
@ -236,11 +236,11 @@ def test_store_signatures_with_different_digests(
|
|||
# Call store_signatures
|
||||
with pytest.raises(errors.SignatureMismatch):
|
||||
store_signatures(signatures, image_digest, TEST_PUBKEY_PATH)
|
||||
"dangerzone.updater.signatures.get_last_log_index",
|
||||
|
||||
# Verify that the signatures file was not created
|
||||
assert not (signatures_path / f"{image_digest}.json").exists()
|
||||
|
||||
|
||||
# Verify that the log index file was not updated
|
||||
assert not (signatures_path / "last_log_index").exists()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue