def test_delete_empty_argument(self): notes = NotesApplication() notes.create("We are the syndicate") notes.create("You mission if you choose to accept") self.assertEqual(notes.delete("two"), None, msg="Supposed to be return same result for 'two'")
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))