summaryrefslogtreecommitdiffstats
path: root/test/t/test_vgcreate.py
blob: 40c1773413abc885b3d3effbeff98d1d5fb3a057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest


class TestVgcreate:
    @pytest.mark.complete(
        "vgcreate -", require_cmd=True, xfail="! vgcreate --help &>/dev/null"
    )
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("vgcreate __does_not_exist__", require_cmd=True)
    def test_2(self, completion):
        assert not completion