diff options
Diffstat (limited to 'test/t/test_dpkg.py')
-rw-r--r-- | test/t/test_dpkg.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/t/test_dpkg.py b/test/t/test_dpkg.py index e609ee86..eb1228b7 100644 --- a/test/t/test_dpkg.py +++ b/test/t/test_dpkg.py @@ -2,13 +2,11 @@ import pytest class TestDpkg: - @pytest.mark.complete("dpkg --c") + @pytest.mark.complete("dpkg --c", require_cmd=True) def test_1(self, completion): assert completion - @pytest.mark.complete( - "dpkg -L ", skipif='test -z "$(dpkg -l 2>/dev/null)"' - ) + @pytest.mark.complete("dpkg -L ", xfail='test -z "$(dpkg -l 2>/dev/null)"') def test_2(self, completion): assert completion |