mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
fixup! (WIP) Add tests
This commit is contained in:
parent
ab51a71bdf
commit
43cb02bcca
1 changed files with 5 additions and 0 deletions
|
@ -244,6 +244,11 @@ def test_store_signatures_with_different_digests(
|
|||
assert not (signatures_path / "last_log_index").exists()
|
||||
|
||||
|
||||
def test_stores_signatures_updates_last_log_index(valid_signature, mocker, tmp_path):
|
||||
"""Test that store_signatures updates the last log index file."""
|
||||
signatures = [valid_signature]
|
||||
# Extract the digest from the signature
|
||||
image_digest = Signature(valid_signature).manifest_digest
|
||||
|
||||
def test_get_file_digest():
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue