fixup! (WIP) Add tests

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

View file

@ -255,6 +255,9 @@ def test_stores_signatures_updates_last_log_index(valid_signature, mocker, tmp_p
signatures_path.mkdir() signatures_path.mkdir()
mocker.patch("dangerzone.updater.signatures.SIGNATURES_PATH", signatures_path) mocker.patch("dangerzone.updater.signatures.SIGNATURES_PATH", signatures_path)
# Create an existing last_log_index file with a lower value
with open(signatures_path / "last_log_index", "w") as f:
f.write("50")
def test_convert_oci_images_signatures(): def test_convert_oci_images_signatures():
pass pass