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