Skip to content

Commit

Permalink
tests: Do not use string-based dates for compatibility reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
tbabej committed May 23, 2016
1 parent 80d39e1 commit 945af7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasklib/tests.py
Expand Up @@ -100,7 +100,7 @@ def test_waiting_non_empty(self):
self.assertEqual(len(self.tw.tasks.waiting()), 0)

t = self.tw.tasks.all()[0]
t['wait'] = 'tomorrow'
t['wait'] = datetime.datetime.now() + datetime.timedelta(days=1)
t.save()

self.assertEqual(len(self.tw.tasks.waiting()), 1)
Expand Down

0 comments on commit 945af7d

Please sign in to comment.