def test_recipe_to_json(self): recipe = Recipe(author="Author", description="Description", time=30) json_recipe = recipe.to_json() self.assertEquals(json_recipe, RecipeTest.RECIPE)
def test_recipe_to_json(self): recipe = Recipe(author="Author", description="Description", time=30) json_recipe = recipe.to_json() self.assertEquals(json_recipe, RecipeTest.RECIPE)