summaryrefslogtreecommitdiff
path: root/tests/test_openpgp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_openpgp.py')
-rw-r--r--tests/test_openpgp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py
index 59deef4..3e30b65 100644
--- a/tests/test_openpgp.py
+++ b/tests/test_openpgp.py
@@ -1019,13 +1019,13 @@ def test_update_require_secure_cli(base_tree, caplog, hashes_arg,
retval = gemato.cli.main(["gemato", "update",
"-K", str(base_tree / ".key.bin"),
"--hashes", hashes_arg,
- str(base_tree)] +
- f"{sign} {require_secure}".split())
+ str(base_tree)]
+ + f"{sign} {require_secure}".split())
if str(OpenPGPNoImplementation('install gpg')) in caplog.text:
pytest.skip('OpenPGP implementation missing')
expected = (1 if insecure is not None and sign != "--no-sign"
- and require_secure != "--no-require-secure_hashes"
+ and require_secure != "--no-require-secure-hashes"
else 0)
assert retval == expected
if expected == 1: