1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-05-10 18:58:35 +00:00

Fix tests for test completion test change

This commit is contained in:
David Steele 2023-08-14 10:25:40 -04:00
parent 5d7a742095
commit f3dc108d58
3 changed files with 1 additions and 8 deletions

View file

@ -1,4 +1,3 @@
x 2014-10-19 Complete
x 2014-10-20 Another one complete
x Not complete
(C) Active

View file

@ -33,7 +33,7 @@ class ArchiveCommandTest(CommandTest):
self.assertTrue(todolist.dirty)
self.assertTrue(archive.dirty)
self.assertEqual(todolist.print_todos(), "x Not complete\n(C) Active")
self.assertEqual(todolist.print_todos(), "(C) Active")
self.assertEqual(archive.print_todos(), "x 2014-10-19 Complete\nx 2014-10-20 Another one complete")
if __name__ == '__main__':

View file

@ -229,12 +229,6 @@ class TodoBaseTester(TopydoTest):
self.assertFalse(todo.is_completed())
def test_completion3(self):
""" A completed todo must start with an x followed by a date. """
todo = TodoBase("x Not complete")
self.assertFalse(todo.is_completed())
def test_completion4(self):
""" A completed todo must start with an x followed by a date. """
todo = TodoBase("X 2014-06-14 Not complete")