fix(test): test_task.py
This commit is contained in:
parent
b94c8b1c77
commit
45c252a240
@ -87,7 +87,7 @@ class TestTask(unittest.TestCase):
|
|||||||
task.save()
|
task.save()
|
||||||
todo = get_owner_and_status()
|
todo = get_owner_and_status()
|
||||||
self.assertEqual(todo.owner, "test@example.com")
|
self.assertEqual(todo.owner, "test@example.com")
|
||||||
self.assertEqual(todo.status, "Completed")
|
self.assertEqual(todo.status, "Closed")
|
||||||
|
|
||||||
def test_overdue(self):
|
def test_overdue(self):
|
||||||
task = create_task("Testing Overdue", add_days(nowdate(), -10), add_days(nowdate(), -5))
|
task = create_task("Testing Overdue", add_days(nowdate(), -10), add_days(nowdate(), -5))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user