def test_argument_matching(val, arg_info, expected):
    assert validate_argument(arg_info, val) is expected
Beispiel #2
0
def test_function_argument_validation(_type, value, expected):
    actual = validate_argument(_type, value)
    assert actual == expected
def test_argument_matching(val, arg_info, expected):
    assert validate_argument(arg_info, val) is expected