def edit_execute(id, name, price): Ingredient.update(id, name, price)
def test_get_ingredient_update(self): Ingredient.update(2, "Bacon", 2.45) ingredient = Ingredient.get_info_by_id(2) ingredient.price.value = float(ingredient.price.value) self.assertEqual(ingredient.price.value, 2.45)