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


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