added failing testcase for ingredient parser

This commit is contained in:
Jakob Wenzel 2021-01-07 19:07:49 +01:00
parent 8931fa8557
commit fd255fd6ad

View File

@ -74,7 +74,8 @@ class TestEditsRecipe(TestBase):
"ägg": (0, "", "ägg", ""),
"50 g smör eller margarin": (50, "g", "smör eller margarin", ""),
"3,5 l Wasser": (3.5, "l", "Wasser", ""),
"3.5 l Wasser": (3.5, "l", "Wasser", "")
"3.5 l Wasser": (3.5, "l", "Wasser", ""),
"400 g Karotte(n)": (400, "g", "Karotte(n)", "")
}
# for German you could say that if an ingredient does not have an amount and it starts with a lowercase letter, then that is a unit ("etwas", "evtl.")
# does not apply to English tho