summaryrefslogtreecommitdiff
path: root/test/t/test_ri.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_ri.py')
-rw-r--r--test/t/test_ri.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_ri.py b/test/t/test_ri.py
index e54f18bb..9430b667 100644
--- a/test/t/test_ri.py
+++ b/test/t/test_ri.py
@@ -3,7 +3,7 @@ import pytest
@pytest.mark.bashcomp(pre_cmds=("export RI='-d ri'",))
class TestRi:
- @pytest.mark.complete("ri -")
+ @pytest.mark.complete("ri -", require_cmd=True)
def test_1(self, completion):
assert completion
@@ -11,6 +11,6 @@ class TestRi:
def test_2(self, completion):
assert completion == "BashCompletion/ cache.ri".split()
- @pytest.mark.complete("ri BashCompletio")
+ @pytest.mark.complete("ri BashCompletio", require_cmd=True)
def test_3(self, completion):
assert completion == "BashCompletion"