From 804c3526bad8ea09ea932648cb5900a9cac95ef9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Jul 2015 14:00:27 -0400 Subject: [PATCH] Test: Accepted the de facto behavior is better than the intended behavior - Adding an 'until' date to a recurring task is propagated to the task instances and they expire at the same time. It was assumed otherwise, but the working behavior is better. --- test/recurrence.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/recurrence.t b/test/recurrence.t index 2e59f6b71..56b1835fd 100755 --- a/test/recurrence.t +++ b/test/recurrence.t @@ -156,7 +156,8 @@ class TestRecurrenceUntil(TestCase): # change the 3 to a 0. self.t.faketime("+24h") code, out, err = self.t("list rc.verbose:nothing") - self.assertEqual(out.count("one"), 3) + #self.assertEqual(out.count("one"), 3) + self.assertEqual(out.count("one"), 0) class TestRecurrenceTasks(TestCase):