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

Fix duplicate method name.

parent 5622684f
# Topydo - A todo.txt client written in Python.
# Copyright (C) 2014 Bram Schoenmakers <me@bramschoenmakers.nl>
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
......@@ -116,7 +116,7 @@ class AddCommandTest(CommandTest.CommandTest):
self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n")
self.assertEquals(self.errors, "")
def test_add_dep4(self):
def test_add_dep5(self):
""" Test for using an after: tag with non-existing value. """
command = AddCommand.AddCommand(["Foo after:2"], self.todolist, self.out, self.error)
command.execute()
......@@ -126,7 +126,7 @@ class AddCommandTest(CommandTest.CommandTest):
self.assertEquals(self.output, " 1 " + str(self.todolist.todo(1)) + "\n")
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.execute()
......@@ -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.errors, "")
def test_add_dep6(self):
def test_add_dep7(self):
command = AddCommand.AddCommand(["Foo"], self.todolist, self.out, self.error)
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