def test_ok__valid_net(arg: Any) -> None: assert valid_net(arg) == arg.strip()
def test_fail__valid_net(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_net(arg))