1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-24 06:04:05 +03:00

test_ukify: skip test requiring cryptography

I'll add the dep in Fedora spec so it does get tested at least
in some cases.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-06-07 10:05:02 +02:00
parent 27140fc7d1
commit 13a29b0efb

View File

@ -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'):