summaryrefslogtreecommitdiffstats
path: root/test/t/test_createdb.py
blob: 030338a00c9de94bd718aa67b79888795032ccb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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