1 2 3 4 5 6 7 8 9
import pytest class TestLvs: @pytest.mark.complete( "lvs --", require_cmd=True, xfail="! lvs --help &>/dev/null" ) def test_1(self, completion): assert completion