From 13a29b0efb1a614f3d211ec083981b69bdd7edf1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 7 Jun 2023 10:05:02 +0200 Subject: [PATCH] test_ukify: skip test requiring cryptography I'll add the dep in Fedora spec so it does get tested at least in some cases. --- src/ukify/test/test_ukify.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py index 2027d65ecd3..a6778bb694d 100755 --- a/src/ukify/test/test_ukify.py +++ b/src/ukify/test/test_ukify.py @@ -713,6 +713,9 @@ def test_key_cert_generation(tmpdir): ]) assert opts.verb == 'genkey' ukify.check_cert_and_keys_nonexistent(opts) + + pytest.importorskip('cryptography') + ukify.generate_keys(opts) if not shutil.which('openssl'): -- 2.47.3