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
9bf663fdb9
commit
01f7b37151
1 changed files with 5 additions and 0 deletions
|
@ -285,6 +285,11 @@ def test_is_update_available_when_no_local_image(mocker):
|
|||
side_effect=dzerrors.ImageNotPresentException,
|
||||
)
|
||||
|
||||
# Mock get_manifest_digest to return a digest
|
||||
mocker.patch(
|
||||
"dangerzone.updater.registry.get_manifest_digest",
|
||||
return_value=RANDOM_DIGEST,
|
||||
)
|
||||
|
||||
def test_is_update_available_trims():
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue