added failing testcase for ingredient parser
This commit is contained in:
parent
8931fa8557
commit
fd255fd6ad
@ -74,7 +74,8 @@ class TestEditsRecipe(TestBase):
|
|||||||
"ägg": (0, "", "ägg", ""),
|
"ägg": (0, "", "ägg", ""),
|
||||||
"50 g smör eller margarin": (50, "g", "smör eller margarin", ""),
|
"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", "")
|
"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.")
|
# 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
|
# does not apply to English tho
|
||||||
|
Loading…
Reference in New Issue
Block a user