Commit 06c2fb08 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Also check that the todo item is marked complete internally

This assertion was missing in commit 6bb804dc.
parent d9e26efd
......@@ -340,6 +340,7 @@ class AddCommandTest(CommandTest):
self.todolist, self.out, self.error)
command.execute()
self.assertTrue(self.todolist.todo(1).is_completed())
self.assertEqual(self.output,
"| 1| x 2015-01-01 {} Already completed\n".format(self.today))
self.assertEqual(self.errors, "")
......
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