summaryrefslogtreecommitdiffstats
path: root/test/t/test_tox.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_tox.py')
-rw-r--r--test/t/test_tox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_tox.py b/test/t/test_tox.py
index f012a03..b101b9b 100644
--- a/test/t/test_tox.py
+++ b/test/t/test_tox.py
@@ -2,7 +2,7 @@ import pytest
class TestTox:
- @pytest.mark.complete("tox -")
+ @pytest.mark.complete("tox -", require_cmd=True)
def test_1(self, completion):
assert completion
@@ -12,7 +12,7 @@ class TestTox:
@pytest.mark.complete("tox -e foo,", cwd="tox")
def test_3(self, completion):
- assert all(x in completion for x in "py37 ALL".split())
+ assert all("foo," + x in completion for x in "py37 ALL".split())
@pytest.mark.complete("tox -e foo -- ", cwd="tox")
def test_default_after_dashdash(self, completion):