diff options
Diffstat (limited to 'test/t/test_pidof.py')
-rw-r--r-- | test/t/test_pidof.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/t/test_pidof.py b/test/t/test_pidof.py index fb553e55..c33a4d39 100644 --- a/test/t/test_pidof.py +++ b/test/t/test_pidof.py @@ -7,3 +7,9 @@ class TestPidof: @pytest.mark.complete("pidof p") def test_1(self, completion): assert completion + + @pytest.mark.complete( + "pidof -", require_cmd=True, xfail="! pidof --help &>/dev/null" + ) + def test_2(self, completion): + assert completion |