mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +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:
parent
27140fc7d1
commit
13a29b0efb
@ -713,6 +713,9 @@ def test_key_cert_generation(tmpdir):
|
|||||||
])
|
])
|
||||||
assert opts.verb == 'genkey'
|
assert opts.verb == 'genkey'
|
||||||
ukify.check_cert_and_keys_nonexistent(opts)
|
ukify.check_cert_and_keys_nonexistent(opts)
|
||||||
|
|
||||||
|
pytest.importorskip('cryptography')
|
||||||
|
|
||||||
ukify.generate_keys(opts)
|
ukify.generate_keys(opts)
|
||||||
|
|
||||||
if not shutil.which('openssl'):
|
if not shutil.which('openssl'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user