def test_app_delete_Missing(self): notes = NotesApplication('John') notes.create("I want to write more, But I cannot Find the word") result = notes.delete(90) self.assertFalse(result)
def test_app_delete_two(self): notes = NotesApplication('Mide') notes.create("Alot happened so far") notes.create("And alot still to happen") notes.delete(0) self.assertEqual("And alot still to happen", notes.note_list[0])
def test_app_delete(self): notes = NotesApplication('John') notes.create("I want to write more, But I cannot Find the word") notes.delete(0) self.assertEqual([], notes.note_list)