fixup! (WIP) Add tests

This commit is contained in:
Alexis Métaireau 2025-02-25 15:44:08 +01:00
parent 43cb02bcca
commit ec4028b486

View file

@ -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():