mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Fix flapping test
Every now and then "Age" would show up breaking the column matching
This commit is contained in:
parent
9d09d35c59
commit
92b71a76fc
1 changed files with 5 additions and 3 deletions
|
@ -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"""
|
||||
|
@ -292,13 +294,13 @@ class TestBug932(TestCase):
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue