Beispiel #1
0
def test_fail__valid_mac(arg: Any) -> None:
    with pytest.raises(ValidatorError):
        print(valid_mac(arg))
Beispiel #2
0
def test_ok__valid_mac(arg: Any) -> None:
    assert valid_mac(arg) == arg.strip().lower()