diff options
Diffstat (limited to 'test/t/test_dropdb.py')
-rw-r--r-- | test/t/test_dropdb.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/test_dropdb.py b/test/t/test_dropdb.py index 7e0b7929..2f658576 100644 --- a/test/t/test_dropdb.py +++ b/test/t/test_dropdb.py @@ -4,6 +4,8 @@ import pytest class TestDropdb: # --help can fail due to missing package dependencies, e.g. on Ubuntu 14 - @pytest.mark.complete("dropdb -", skipif="! dropdb --help &>/dev/null") + @pytest.mark.complete( + "dropdb -", require_cmd=True, xfail="! dropdb --help &>/dev/null" + ) def test_1(self, completion): assert completion |