def test_invalid_wine_type(): with pytest.raises(ValueError): best_match_per_wine("cocacola")
def test_best_match_per_wine_all(): assert best_match_per_wine()[2] == 13.0
def test_best_match_per_wine_type(case): wine_type, *result = case assert best_match_per_wine(wine_type) == tuple(result)