summaryrefslogtreecommitdiffstats
path: root/test/t/test_dropdb.py
blob: 2f6585760c66e26e62fa48a275dee92980518963 (plain)
1
2
3
4
5
6
7
8
9
10
11
import pytest


class TestDropdb:

    # --help can fail due to missing package dependencies, e.g. on Ubuntu 14
    @pytest.mark.complete(
        "dropdb -", require_cmd=True, xfail="! dropdb --help &>/dev/null"
    )
    def test_1(self, completion):
        assert completion