mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Test: Make sorting.t test timing independent
This commit is contained in:
parent
ad81810fd3
commit
0961a011f4
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ class TestSortNone(TestCase):
|
||||||
self.t("add three")
|
self.t("add three")
|
||||||
code, out, err = self.t("_get 1.uuid 2.uuid 3.uuid")
|
code, out, err = self.t("_get 1.uuid 2.uuid 3.uuid")
|
||||||
uuid1, uuid2, uuid3 = out.strip().split(' ')
|
uuid1, uuid2, uuid3 = out.strip().split(' ')
|
||||||
code, out, err = self.t("%s %s %s list rc.report.list.sort:none" % (uuid2, uuid3, uuid1))
|
code, out, err = self.t("%s %s %s list rc.report.list.sort:none rc.report.list.columns:id,description rc.report.list.labels:id,desc" % (uuid2, uuid3, uuid1))
|
||||||
self.assertRegexpMatches(out, ' 2 two.+\n 3 three.+\n 1 one')
|
self.assertRegexpMatches(out, ' 2 two\n 3 three\n 1 one')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue