summaryrefslogtreecommitdiffstats
path: root/test/t/test_lsusb.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_lsusb.py')
-rw-r--r--test/t/test_lsusb.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/t/test_lsusb.py b/test/t/test_lsusb.py
new file mode 100644
index 0000000..c68d046
--- /dev/null
+++ b/test/t/test_lsusb.py
@@ -0,0 +1,10 @@
+import pytest
+
+
+class TestLsusb:
+ @pytest.mark.complete(
+ "lsusb -",
+ xfail="! (lsusb --help 2>&1 || :) | command grep -qF -- --help",
+ )
+ def test_1(self, completion):
+ assert completion