mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
fixup! (WIP) Add tests
This commit is contained in:
parent
43cb02bcca
commit
ec4028b486
1 changed files with 4 additions and 2 deletions
|
@ -250,8 +250,10 @@ def test_stores_signatures_updates_last_log_index(valid_signature, mocker, tmp_p
|
||||||
# Extract the digest from the signature
|
# Extract the digest from the signature
|
||||||
image_digest = Signature(valid_signature).manifest_digest
|
image_digest = Signature(valid_signature).manifest_digest
|
||||||
|
|
||||||
def test_get_file_digest():
|
# Mock the signatures path
|
||||||
pass
|
signatures_path = tmp_path / "signatures"
|
||||||
|
signatures_path.mkdir()
|
||||||
|
mocker.patch("dangerzone.updater.signatures.SIGNATURES_PATH", signatures_path)
|
||||||
|
|
||||||
|
|
||||||
def test_convert_oci_images_signatures():
|
def test_convert_oci_images_signatures():
|
||||||
|
|
Loading…
Reference in a new issue