From: Tomas Babej Date: Thu, 6 Aug 2015 16:31:24 +0000 (+0200) Subject: tests: Do not use TW-formatted datetime strings, they do not work for older TW versions X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/0b7eee0a63b5d15d2dbbba7d35cb9600c5b7bab1?ds=inline tests: Do not use TW-formatted datetime strings, they do not work for older TW versions --- diff --git a/tasklib/tests.py b/tasklib/tests.py index f63fbb4..b6e3adc 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -285,7 +285,8 @@ class TaskTest(TasklibTest): self.assertRaises(Task.CompletedTask, t.start) def test_add_completed_task(self): - t = Task(self.tw, description="test", status="completed", end="now") + t = Task(self.tw, description="test", status="completed", + end=datetime.datetime.now()) t.save() def test_complete_deleted_task(self):