From 92b71a76fcd4eebfd6bfff330f1dcdfe9be0f7d9 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Fri, 24 Jul 2015 15:51:47 +0100 Subject: [PATCH] Test: Fix flapping test Every now and then "Age" would show up breaking the column matching --- test/recurrence.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/recurrence.t b/test/recurrence.t index 55d820ece..8d1cd3c0f 100755 --- a/test/recurrence.t +++ b/test/recurrence.t @@ -281,6 +281,8 @@ class TestBug932(TestCase): def setUp(self): """Executed before each test in the class""" self.t = Task() + self.t.config("report.id_pri_proj.columns", "id,priority,project") + self.t.config("report.id_pri_proj.labels", "ID,P,Proj") def test_modify_due_propagate(self): """Verify due date modifications propagate""" @@ -289,16 +291,16 @@ class TestBug932(TestCase): # - modify a child task and test for propagation # - modify the parent task and test for propagation self.t("add R due:yesterday recur:daily") - self.t("list") # GC/handleRecurrence + self.t("list") # GC/handleRecurrence self.t("2 modify project:P", input="y\n") - code, out, err = self.t("list") + code, out, err = self.t("id_pri_proj") self.assertIn("2 P", out) self.assertIn("3 P", out) self.assertIn("4 P", out) self.t("1 modify priority:H", input="y\n") - code, out, err = self.t("list") + code, out, err = self.t("id_pri_proj") self.assertIn("2 H P", out) self.assertIn("3 H P", out) self.assertIn("4 H P", out)