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.
This commit is contained in:
Paul Beckingham 2015-07-25 14:00:27 -04:00
parent 42d5ebfd4b
commit 804c3526ba

View file

@ -156,7 +156,8 @@ class TestRecurrenceUntil(TestCase):
# change the 3 to a 0. # change the 3 to a 0.
self.t.faketime("+24h") self.t.faketime("+24h")
code, out, err = self.t("list rc.verbose:nothing") 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): class TestRecurrenceTasks(TestCase):