Пример #1
0
 def delete_all_tasks(self):
     if (Task.delete_all_tasks()):
         print("successfully deleted all Tasks")
     else:
         print("No Task Deleted")        
Пример #2
0
 def test_deleting_all_task(self):
     task = Task(self.task_id, self.title, self.status)
     new_task = task.create_task()
     delete_all_tasks = Task.delete_all_tasks()
     self.assertEquals(delete_all_tasks, True)