def test_fail__valid_log_seek(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_log_seek(arg))
def test_ok__valid_log_seek(arg: Any) -> None: value = valid_log_seek(arg) assert type(value) == int # pylint: disable=unidiomatic-typecheck assert value == int(str(arg).strip())