summaryrefslogtreecommitdiff
path: root/test/t/test_psql.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_psql.py')
-rw-r--r--test/t/test_psql.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/test_psql.py b/test/t/test_psql.py
index 60ed097c..ffd6c058 100644
--- a/test/t/test_psql.py
+++ b/test/t/test_psql.py
@@ -4,6 +4,8 @@ import pytest
class TestPsql:
# --help can fail due to missing package dependencies, e.g. on Ubuntu 14
- @pytest.mark.complete("psql -", skipif="! psql --help &>/dev/null")
+ @pytest.mark.complete(
+ "psql -", require_cmd=True, xfail="! psql --help &>/dev/null"
+ )
def test_1(self, completion):
assert completion