Commit fea6ad10 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Add additional assertion regarding completion date.

parent 3cdd8d1c
...@@ -101,6 +101,7 @@ class DoCommandTest(CommandTest.CommandTest): ...@@ -101,6 +101,7 @@ class DoCommandTest(CommandTest.CommandTest):
command.execute() command.execute()
self.assertFalse(self.todolist.is_dirty()) self.assertFalse(self.todolist.is_dirty())
self.assertEquals(self.todolist.todo(5).completion_date(), date(2014, 10, 18))
self.assertFalse(self.output) self.assertFalse(self.output)
self.assertEquals(self.errors, "Todo has already been completed.\n") self.assertEquals(self.errors, "Todo has already been completed.\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment