def test_fail__valid_command(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_command(arg))
def test_ok__valid_command(arg: Any, retval: List[str]) -> None: assert valid_command(arg) == retval