def test_case_is_success(test):
    """Determine if the the test expects a successful parse"""
    if "results" not in test:
        return True
    for result in test["results"]:
        if "error" in result:
            return False
    return True