fix: Ingredient Parser Drops Units Sometimes (#6150)

This commit is contained in:
Michael Genson
2025-09-13 15:49:08 -05:00
committed by GitHub
parent 8cd5835dd8
commit d4f4ba0c8d
2 changed files with 9 additions and 7 deletions

View File

@@ -181,7 +181,6 @@ def parsed_ingredient_data(
id="stalk bell peppers, cut in pieces",
),
pytest.param("red pepper flakes", 0, "", "red pepper flakes", "", id="red pepper flakes"),
pytest.param("1 red pepper flakes", 1, "", "red pepper flakes", "", id="1 red pepper flakes"),
pytest.param("1 bell peppers", 1, "", "bell peppers", "", id="1 bell peppers"),
pytest.param("1 stalk bell peppers", 1, "Stalk", "bell peppers", "", id="1 big stalk bell peppers"),
pytest.param("a big stalk bell peppers", 0, "Stalk", "bell peppers", "", id="a big stalk bell peppers"),