Commit 3d5f5417 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix duplicate method name.

parent 5622684f
...@@ -116,7 +116,7 @@ class AddCommandTest(CommandTest.CommandTest): ...@@ -116,7 +116,7 @@ class AddCommandTest(CommandTest.CommandTest):
self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n") self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n")
self.assertEquals(self.errors, "") self.assertEquals(self.errors, "")
def test_add_dep4(self): def test_add_dep5(self):
""" Test for using an after: tag with non-existing value. """ """ Test for using an after: tag with non-existing value. """
command = AddCommand.AddCommand(["Foo after:2"], self.todolist, self.out, self.error) command = AddCommand.AddCommand(["Foo after:2"], self.todolist, self.out, self.error)
command.execute() command.execute()
...@@ -126,7 +126,7 @@ class AddCommandTest(CommandTest.CommandTest): ...@@ -126,7 +126,7 @@ class AddCommandTest(CommandTest.CommandTest):
self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n") self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n")
self.assertEquals(self.errors, "") self.assertEquals(self.errors, "")
def test_add_dep5(self): def test_add_dep6(self):
command = AddCommand.AddCommand(["Foo"], self.todolist, self.out, self.error) command = AddCommand.AddCommand(["Foo"], self.todolist, self.out, self.error)
command.execute() command.execute()
...@@ -141,7 +141,7 @@ class AddCommandTest(CommandTest.CommandTest): ...@@ -141,7 +141,7 @@ class AddCommandTest(CommandTest.CommandTest):
self.assertEquals(self.todolist.todo(3).source(), self.today + " Baz p:1 p:2") self.assertEquals(self.todolist.todo(3).source(), self.today + " Baz p:1 p:2")
self.assertEquals(self.errors, "") self.assertEquals(self.errors, "")
def test_add_dep6(self): def test_add_dep7(self):
command = AddCommand.AddCommand(["Foo"], self.todolist, self.out, self.error) command = AddCommand.AddCommand(["Foo"], self.todolist, self.out, self.error)
command.execute() command.execute()
......
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