def test_read_from_ingredients_file_using_products_input(self): self.assertNotIn(self.products,read_from_file(ingredients))
def test_read_from_file_against_bad_input(self): self.assertNotIn('ingredients and ID',read_from_file(self.products))
def test_read_from_file_using_products_and_id_input(self): self.assertNotIn('products and ID',read_from_file(self.ingredients))
def test_read_from_file_against_invalid_input(self): self.assertNotIn('invalidinput',read_from_file(self.products))
def test_read_ingredients_json(self): self.assertIn('.json',read_from_file(self.ingredients))
def test_read_ingredients_name(self): self.assertIn(self.ingredients,read_from_file(self.ingredients))
def test_read_products_name(self): self.assertIn(self.products,read_from_file(self.products))
def test_read_products_json(self): self.assertIn('.json',read_from_file(self.products))