summaryrefslogtreecommitdiff
path: root/test/t/test_openssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_openssl.py')
-rw-r--r--test/t/test_openssl.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/t/test_openssl.py b/test/t/test_openssl.py
index e3af3530..3eaf6d47 100644
--- a/test/t/test_openssl.py
+++ b/test/t/test_openssl.py
@@ -6,10 +6,11 @@ class TestOpenssl:
def test_1(self, completion):
assert completion
- @pytest.mark.complete("openssl pkey -cipher ")
+ @pytest.mark.complete("openssl pkey -cipher ", require_cmd=True)
def test_2(self, completion):
assert completion
- @pytest.mark.complete("openssl dgst -s")
+ @pytest.mark.complete("openssl dgst -s", require_cmd=True)
def test_3(self, completion):
assert completion
+ assert any(x.startswith("-sha") for x in completion)