mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Update project.t
This commit is contained in:
parent
8df69597f6
commit
2e72ae5068
1 changed files with 3 additions and 8 deletions
|
@ -491,11 +491,9 @@ class TestBug1904(TestCase):
|
|||
self.t("add pro:a.b test2")
|
||||
|
||||
def validate_order(self, out):
|
||||
order = (
|
||||
"a",
|
||||
" b",
|
||||
"a-b",
|
||||
)
|
||||
order = ("a",
|
||||
" b",
|
||||
"a-b")
|
||||
|
||||
lines = out.splitlines(True)
|
||||
# position where project names start on the lines list
|
||||
|
@ -513,13 +511,10 @@ class TestBug1904(TestCase):
|
|||
def test_project_eval(self):
|
||||
"""1904: verify correct order under projects command"""
|
||||
self.add_tasks()
|
||||
|
||||
code, out, err = self.t("projects")
|
||||
|
||||
self.validate_order(out)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
unittest.main(testRunner=TAPTestRunner())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue