summaryrefslogtreecommitdiff
path: root/test/t/test_who.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_who.py')
-rw-r--r--test/t/test_who.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/test_who.py b/test/t/test_who.py
index d1f29ea7..9131ac76 100644
--- a/test/t/test_who.py
+++ b/test/t/test_who.py
@@ -2,6 +2,8 @@ import pytest
class TestWho:
- @pytest.mark.complete("who --", skipif="! who --help &>/dev/null")
+ @pytest.mark.complete(
+ "who --", require_cmd=True, xfail="! who --help &>/dev/null"
+ )
def test_1(self, completion):
assert completion