def test_spinach_mushroom_stuff_chicken(): recipe = Hangry( url= 'http://www.foodnetwork.com/recipes/rachael-ray/spinach-and-mushroom-stuffed-chicken-breasts-recipe.html' ) assert recipe[ 'canonical_url'] == 'http://www.foodnetwork.com/recipes/rachael-ray/spinach-and-mushroom-stuffed-chicken-breasts-recipe.html' assert recipe['name'] == 'Spinach and Mushroom Stuffed Chicken Breasts' assert recipe[ 'description'] == 'Get this all-star, easy-to-follow Spinach and Mushroom Stuffed Chicken Breasts recipe from Rachael Ray' assert recipe[ 'image_url'] == 'http://foodnetwork.sndimg.com/content/dam/images/food/fullset/2011/4/19/1/FN_chicken-breasts-006_s4x3.jpg.rend.sni12col.landscape.jpeg' assert recipe['ingredients'] == [ '4 boneless, skinless chicken breasts, 6 ounces', 'Large plastic food storage bags or waxed paper', '1 package, 10 ounces, frozen chopped spinach', '2 tablespoons butter', '12 small mushroom caps, crimini or button', '2 cloves garlic, cracked', '1 small shallot, quartered', 'Salt and freshly ground black pepper', '1 cup part skim ricotta cheese', '1/2 cup grated Parmigiano or Romano, a couple of handfuls', '1/2 teaspoon fresh grated or ground nutmeg', 'Toothpicks', '2 tablespoons extra-virgin olive oil', '2 tablespoons butter', '2 tablespoons flour', '1/2 cup white wine', '1 cup chicken broth' ] assert len(recipe['instructions']) == 4 assert recipe['prep_time'] == 900 assert recipe['cook_time'] == 1200 assert recipe['total_time'] == 2100 assert recipe['published_date'] == None assert recipe['yields'] == 4 assert recipe.author == 'Rachael Ray' assert type(recipe.to_dict()) == dict assert type(recipe.to_json()) == str
def test_spinach_mushroom_stuff_chicken(): recipe = Hangry(url='http://www.foodnetwork.com/recipes/rachael-ray/spinach-and-mushroom-stuffed-chicken-breasts-recipe.html') assert recipe['canonical_url'] == 'http://www.foodnetwork.com/recipes/rachael-ray/spinach-and-mushroom-stuffed-chicken-breasts-recipe.html' assert recipe['name'] == 'Spinach and Mushroom Stuffed Chicken Breasts' assert recipe['description'] == 'Get this all-star, easy-to-follow Spinach and Mushroom Stuffed Chicken Breasts recipe from Rachael Ray' assert recipe['image_url'] == 'http://foodnetwork.sndimg.com/content/dam/images/food/fullset/2011/4/19/1/FN_chicken-breasts-006_s4x3.jpg.rend.sni12col.landscape.jpeg' assert recipe['ingredients'] == ['4 boneless, skinless chicken breasts, 6 ounces', 'Large plastic food storage bags or waxed paper', '1 package, 10 ounces, frozen chopped spinach', '2 tablespoons butter', '12 small mushroom caps, crimini or button', '2 cloves garlic, cracked', '1 small shallot, quartered', 'Salt and freshly ground black pepper', '1 cup part skim ricotta cheese', '1/2 cup grated Parmigiano or Romano, a couple of handfuls', '1/2 teaspoon fresh grated or ground nutmeg', 'Toothpicks', '2 tablespoons extra-virgin olive oil', '2 tablespoons butter', '2 tablespoons flour', '1/2 cup white wine', '1 cup chicken broth'] assert len(recipe['instructions']) == 4 assert recipe['prep_time'] == 900 assert recipe['cook_time'] == 1200 assert recipe['total_time'] == 2100 assert recipe['published_date'] == None assert recipe['yields'] == 4 assert recipe.author == 'Rachael Ray' assert type(recipe.to_dict()) == dict assert type(recipe.to_json()) == str