def test_search_notes1(self): author_notes = NotesApplication('New Author', ["Content1", "Content2", "Content3"]) notes_list = author_notes.search("Content4") self.assertListEqual(notes_list, [], msg='search should return an empty array text is not found in any notes')
def test_search_empty_field(self): notes = NotesApplication() notes.create("The final day has been awesome and mixed") notes.create("the final day some people will leave") self.assertEqual(notes.search(), None, msg="Supposed to be an empty return")