def testDelete(self): New_Note = NotesApplication("Am a New author") Note = New_Note.create("This Note is to be deleted") self.assertNotEqual("This Note is to be deleted", New_Note.delete(Note))
def testCreate(self): New_Note = NotesApplication("ProgrammerOfLife") note_id = New_Note.create("Programming By Grace Because Life Comes through His Grace") self.assertEqual("Programming By Grace Because Life Comes through His Grace", New_Note.note_list[note_id])