summaryrefslogtreecommitdiff
path: root/test/t/test_scrub.py
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
commit019f3cc463db63abc6460f97deb488deec43840b (patch)
tree08cd5387d6c8af6f688d6468c7e2ae9f25c449be /test/t/test_scrub.py
parent5732da2af736c40cf693354485446ab4867ecb4d (diff)
downloadbash-completion-019f3cc463db63abc6460f97deb488deec43840b.tar.gz
New upstream version 2.10upstream/2.10
Diffstat (limited to 'test/t/test_scrub.py')
-rw-r--r--test/t/test_scrub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_scrub.py b/test/t/test_scrub.py
index 0a521faf..5853ad2b 100644
--- a/test/t/test_scrub.py
+++ b/test/t/test_scrub.py
@@ -6,14 +6,14 @@ class TestScrub:
def test_1(self, completion):
assert completion
- @pytest.mark.complete("scrub -")
+ @pytest.mark.complete("scrub -", require_cmd=True)
def test_2(self, completion):
assert completion
# Not all scrub versions list available patterns in --help output
@pytest.mark.complete(
"scrub -p ",
- skipif="! (scrub --help 2>&1 || :) | " "command grep -q ^Available",
+ xfail="! (scrub --help 2>&1 || :) | command grep -q ^Available",
)
def test_3(self, completion):
assert completion