def test_create_note_3(self): note = NotesApplication("author", ["note1", "note2", "note3", "note4", "note5"]) note.create("note6") note.create("note7") note.create("note8") note_len = len(note.note_list) self.assertEqual(note_len, 8, msg = "Success: New notes created!")
def test_create_note_2(self): note = NotesApplication("author", ["note1"]) note.create("note2") note.create("note3") note.create("note4") note.create("note5") note_len = len(note.note_list) self.assertEqual(note_len, 5, msg = "Success: New notes created!")
def test_create_note_1(self): note = NotesApplication('author') note.create('note1') self.assertEqual(note.create, "note1", msg = "Success: New note created!")
def test_create_note_empty(self): note = NotesApplication("author") note.create("") note_len = len(note.note_list) self.assertEqual(note.create, 0, msg = "New note not created")