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:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user