summaryrefslogtreecommitdiff
path: root/test/t/test_slapt_get.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_slapt_get.py')
-rw-r--r--test/t/test_slapt_get.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_slapt_get.py b/test/t/test_slapt_get.py
index 1254d5b4..626dde9e 100644
--- a/test/t/test_slapt_get.py
+++ b/test/t/test_slapt_get.py
@@ -3,11 +3,11 @@ import pytest
@pytest.mark.bashcomp(cmd="slapt-get")
class TestSlaptGet:
- @pytest.mark.complete("slapt-get -")
+ @pytest.mark.complete("slapt-get -", require_cmd=True)
def test_1(self, completion):
assert completion
- @pytest.mark.complete("slapt-get --up")
+ @pytest.mark.complete("slapt-get --up", require_cmd=True)
def test_2(self, completion):
assert completion == "--update --upgrade".split()