X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/33c9f69e01349c7339cb669e252a4d98a08351c1..0110af91cb5bf3804efc35cb50c8430419af4313:/tasklib/tests.py?ds=inline diff --git a/tasklib/tests.py b/tasklib/tests.py index f7b9a27..3ff1ebf 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -503,6 +503,12 @@ class TaskTest(TasklibTest): for normalizer in normalizers: normalizer(None) + def test_recurrent_task_generation(self): + today = datetime.date.today() + t = Task(self.tw, description="brush teeth", + due=today, recur="daily") + t.save() + self.assertEqual(len(self.tw.tasks.pending()), 2) class TaskFromHookTest(TasklibTest):