summaryrefslogtreecommitdiff
path: root/test/t/test_synclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_synclient.py')
-rw-r--r--test/t/test_synclient.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/t/test_synclient.py b/test/t/test_synclient.py
index 23138294..8a31a654 100644
--- a/test/t/test_synclient.py
+++ b/test/t/test_synclient.py
@@ -5,10 +5,12 @@ class TestSynclient:
# synclient -l may error out with e.g.
# "Couldn't find synaptics properties. No synaptics driver loaded?"
- @pytest.mark.complete("synclient ", skipif="! synclient -l &>/dev/null")
+ @pytest.mark.complete(
+ "synclient ", require_cmd=True, xfail="! synclient -l &>/dev/null"
+ )
def test_1(self, completion):
assert completion
- @pytest.mark.complete("synclient -")
+ @pytest.mark.complete("synclient -", require_cmd=True)
def test_2(self, completion):
assert completion