<reponame>Programming-The-Next-Step-2021/RecipesProject
import unittest
from Recipe_Finder import find_recipes, recipe_link

class TestRecipeFinder(unittest.TestCase):
    def test_find_recipes(self):
        recipes = find_recipes('eggs,bacon,cheese')
        self.assertIsNotNone(recipes,'no recipes')

    def test_recipe_link(self):
        link = recipe_link('716429')
        self.assertIn('html', link)

if __name__ == '__main__':
    unittest.main()

import unittest
from Recipe_Finder import find_recipes, recipe_link

class TestRecipeFinder(unittest.TestCase):
    def test_find_recipes(self):
        recipes = find_recipes('eggs,bacon,cheese')
        self.assertIsNotNone(recipes,'no recipes')

    def test_recipe_link(self):
        link = recipe_link('716429')
        self.assertIn('html', link)

if __name__ == '__main__':
    unittest.main()