summaryrefslogtreecommitdiff
path: root/test/t/test_ccache.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_ccache.py')
-rw-r--r--test/t/test_ccache.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/t/test_ccache.py b/test/t/test_ccache.py
index 573e3e44..64620ef4 100644
--- a/test/t/test_ccache.py
+++ b/test/t/test_ccache.py
@@ -2,11 +2,11 @@ import pytest
class TestCcache:
- @pytest.mark.complete("ccache -")
+ @pytest.mark.complete("ccache -", require_cmd=True)
def test_1(self, completion):
assert completion
- @pytest.mark.complete("ccache --clea")
+ @pytest.mark.complete("ccache --clea", require_cmd=True)
def test_2(self, completion):
assert all(x in completion for x in "--cleanup --clear".split())
@@ -18,10 +18,10 @@ class TestCcache:
def test_4(self, completion):
assert "stty" in completion
- @pytest.mark.complete("ccache --hel")
+ @pytest.mark.complete("ccache --hel", require_cmd=True)
def test_5(self, completion):
assert "--help" in completion
- @pytest.mark.complete("ccache --zero-stats ls --hel")
+ @pytest.mark.complete("ccache --zero-stats sh +")
def test_6(self, completion):
- assert "--help" in completion
+ assert "+x" in completion