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