コード例 #1
0
ファイル: test_models.py プロジェクト: gkampjes/ucbc
 def test_unit_size_plural_bad_string_quantity():
     Ingredient.unit_size_plural("sack", "sdf")
コード例 #2
0
ファイル: test_models.py プロジェクト: gkampjes/ucbc
 def test_unit_size_plural_neg_quantity():
     Ingredient.unit_size_plural("sack", -2)
コード例 #3
0
ファイル: test_models.py プロジェクト: gkampjes/ucbc
 def test_unit_size_plural_zero_quantity():
     Ingredient.unit_size_plural("sack", 0)
コード例 #4
0
ファイル: test_models.py プロジェクト: gkampjes/ucbc
 def test_unit_size_plural_bad_unit_size():
     Ingredient.unit_size_plural("bad unit size", 5)