diff options
Diffstat (limited to 'test/t/test_lsusb.py')
-rw-r--r-- | test/t/test_lsusb.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/t/test_lsusb.py b/test/t/test_lsusb.py index 9c546d32..c68d046b 100644 --- a/test/t/test_lsusb.py +++ b/test/t/test_lsusb.py @@ -2,6 +2,9 @@ import pytest class TestLsusb: - @pytest.mark.complete("lsusb -") + @pytest.mark.complete( + "lsusb -", + xfail="! (lsusb --help 2>&1 || :) | command grep -qF -- --help", + ) def test_1(self, completion): assert completion |