Skip to content

Commit

Permalink
tests todo list
Browse files Browse the repository at this point in the history
  • Loading branch information
welli7ngton committed Oct 13, 2023
1 parent 7b88cfe commit a19c23f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TDD/test_to_do_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ def test__converting_str_to_date_function_getting_an_assertion_error(self):

def test_creating_a_dictionare_for_each_event(self):
self.assertTrue(isinstance(ToDoList._add_event('event test', '11/11/1111', '00:00', 'a test event'), dict))

def test_remve_item_of_the_list(self):
tdl = ToDoList()
tdl.add_event('Event Test', '13/10/2023', '15:12')
self.assertTrue(tdl.remove_event('13/10/2023', '15:12'))


if __name__ == '__main__':
Expand Down

0 comments on commit a19c23f

Please sign in to comment.