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


class TestCreateuser:

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