예제 #1
0
def list(request):
    return return_list(request, Ingredient.get_all())
예제 #2
0
 def test_get_all_ingredient(self):
     ingredients = Ingredient.get_all()
     self.assertIsNotNone(ingredients)