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
ec4028b486
commit
4621902a2b
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ def test_stores_signatures_updates_last_log_index(valid_signature, mocker, tmp_p
|
|||
signatures_path.mkdir()
|
||||
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():
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue