@@ -230,7 +230,7 @@ class DoCommandTest(CommandTest):
self.error)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,"Completed: x 2014-11-18 Baz p:1\n")
self.assertEqual(self.errors,"")
...
...
@@ -239,7 +239,7 @@ class DoCommandTest(CommandTest):
self.error,_yes_prompt)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,"| 2| Bar p:1\n| 3| Baz p:1\nCompleted: x 2014-11-18 Bar p:1\nCompleted: x 2014-11-18 Baz p:1\nCompleted: x 2014-11-18 Foo id:1\n")
self.assertEqual(self.errors,"")
...
...
@@ -248,7 +248,7 @@ class DoCommandTest(CommandTest):
self.out,self.error)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,"Completed: x 2014-11-18 Baz p:1\n")
self.assertEqual(self.errors,"")
...
...
@@ -257,7 +257,7 @@ class DoCommandTest(CommandTest):
self.error)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,
"Completed: x {} Baz p:1\n".format(self.today))
self.assertEqual(self.errors,"")
...
...
@@ -271,7 +271,7 @@ class DoCommandTest(CommandTest):
self.out,self.error)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,"| 12| {today} Recurring! rec:1d due:{today}\nCompleted: x {yesterday} Recurring! rec:1d\n".format(today=self.today,yesterday=self.yesterday))
self.assertEqual(self.errors,"")
...
...
@@ -285,7 +285,7 @@ class DoCommandTest(CommandTest):
self.out,self.error)
command.execute()
self.assertTrue(self.todolist.is_dirty())
self.assertTrue(self.todolist.dirty)
self.assertEqual(self.output,"| 12| {today} Recurring! rec:1d due:{today}\nCompleted: x {yesterday} Recurring! rec:1d\n".format(today=self.today,yesterday=self.yesterday))
self.assertEqual(self.errors,"")
...
...
@@ -298,7 +298,7 @@ class DoCommandTest(CommandTest):