mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Update summary.t
This commit is contained in:
parent
2e72ae5068
commit
b6da775958
1 changed files with 3 additions and 7 deletions
|
@ -73,11 +73,9 @@ class TestBug1904(TestCase):
|
||||||
self.t("add pro:a.b test2")
|
self.t("add pro:a.b test2")
|
||||||
|
|
||||||
def validate_order(self, out):
|
def validate_order(self, out):
|
||||||
order = (
|
order = ("a-b",
|
||||||
"a-b",
|
|
||||||
"a",
|
"a",
|
||||||
" b",
|
" b")
|
||||||
)
|
|
||||||
|
|
||||||
lines = out.splitlines(True)
|
lines = out.splitlines(True)
|
||||||
# position where project names start on the lines list
|
# position where project names start on the lines list
|
||||||
|
@ -95,9 +93,7 @@ class TestBug1904(TestCase):
|
||||||
def test_project_eval(self):
|
def test_project_eval(self):
|
||||||
"""1904: verify correct order under summary command"""
|
"""1904: verify correct order under summary command"""
|
||||||
self.add_tasks()
|
self.add_tasks()
|
||||||
|
|
||||||
code, out, err = self.t("summary")
|
code, out, err = self.t("summary")
|
||||||
|
|
||||||
self.validate_order(out)
|
self.validate_order(out)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue