Commit 69ae311d authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix name of the error function.

parent fd7bf73b
...@@ -88,7 +88,7 @@ class ListCommandTest(CommandTest.CommandTest): ...@@ -88,7 +88,7 @@ class ListCommandTest(CommandTest.CommandTest):
self.assertEquals(self.errors, "") self.assertEquals(self.errors, "")
def test_list10(self): def test_list10(self):
command = ListCommand.ListCommand(["text1", "2"], self.todolist, self.out, self.errors) command = ListCommand.ListCommand(["text1", "2"], self.todolist, self.out, self.error)
command.execute() command.execute()
self.assertFalse(self.todolist.is_dirty()) self.assertFalse(self.todolist.is_dirty())
...@@ -98,7 +98,7 @@ class ListCommandTest(CommandTest.CommandTest): ...@@ -98,7 +98,7 @@ class ListCommandTest(CommandTest.CommandTest):
def test_list11(self): def test_list11(self):
config("data/listcommand.conf") config("data/listcommand.conf")
command = ListCommand.ListCommand(["project"], self.todolist, self.out, self.errors) command = ListCommand.ListCommand(["project"], self.todolist, self.out, self.error)
command.execute() command.execute()
self.assertFalse(self.todolist.is_dirty()) self.assertFalse(self.todolist.is_dirty())
...@@ -111,7 +111,7 @@ class ListCommandTest(CommandTest.CommandTest): ...@@ -111,7 +111,7 @@ class ListCommandTest(CommandTest.CommandTest):
def test_list12(self): def test_list12(self):
config("data/listcommand.conf") config("data/listcommand.conf")
command = ListCommand.ListCommand(["-x", "project"], self.todolist, self.out, self.errors) command = ListCommand.ListCommand(["-x", "project"], self.todolist, self.out, self.error)
command.execute() command.execute()
self.assertFalse(self.todolist.is_dirty()) self.assertFalse(self.todolist.is_dirty())
......
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