Commit de419c5c authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix confusing variable name.

parent 486e995b
...@@ -21,10 +21,10 @@ class RelativeDateTester(unittest.TestCase): ...@@ -21,10 +21,10 @@ class RelativeDateTester(unittest.TestCase):
def test_duedate2(self): def test_duedate2(self):
""" Where due date is today. """ """ Where due date is today. """
todo = date.today() today = date.today()
new_due = date.today() + timedelta(7) new_due = date.today() + timedelta(7)
self.todo.set_tag(Config.TAG_DUE, todo.isoformat()) self.todo.set_tag(Config.TAG_DUE, today.isoformat())
new_todo = advance_recurring_todo(self.todo) new_todo = advance_recurring_todo(self.todo)
self.assertEquals(new_todo.due_date(), new_due) self.assertEquals(new_todo.due_date(), new_due)
......
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