summaryrefslogtreecommitdiffstats
path: root/test/t/test_tox.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:19 +0000
commit6c09f2a45c5541e9c207d14fc7aa21a4a0066bde (patch)
tree0221189d367bf661f6f9493c4f17a03f0dd4b7d2 /test/t/test_tox.py
parentReleasing progress-linux version 1:2.11-8~progress7.99u1. (diff)
downloadbash-completion-6c09f2a45c5541e9c207d14fc7aa21a4a0066bde.tar.xz
bash-completion-6c09f2a45c5541e9c207d14fc7aa21a4a0066bde.zip
Merging upstream version 1:2.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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):