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


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