summaryrefslogtreecommitdiff
path: root/test/t/test_lspci.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_lspci.py')
-rw-r--r--test/t/test_lspci.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/test_lspci.py b/test/t/test_lspci.py
index ac18da3f..aba7b5a4 100644
--- a/test/t/test_lspci.py
+++ b/test/t/test_lspci.py
@@ -6,6 +6,8 @@ class TestLspci:
def test_1(self, completion):
assert completion
- @pytest.mark.complete("lspci -A ", require_cmd=True)
+ @pytest.mark.complete(
+ "lspci -A ", require_cmd=True, skipif="! lspci -A help &>/dev/null"
+ )
def test_2(self, completion):
assert completion