From 0961a011f47d815c5a3c7500365c234cf3bee1f9 Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Wed, 11 Nov 2015 09:51:31 +0100 Subject: [PATCH] Test: Make sorting.t test timing independent --- test/sorting.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sorting.t b/test/sorting.t index 8d6489342..f4be67a98 100755 --- a/test/sorting.t +++ b/test/sorting.t @@ -260,8 +260,8 @@ class TestSortNone(TestCase): self.t("add three") code, out, err = self.t("_get 1.uuid 2.uuid 3.uuid") uuid1, uuid2, uuid3 = out.strip().split(' ') - code, out, err = self.t("%s %s %s list rc.report.list.sort:none" % (uuid2, uuid3, uuid1)) - self.assertRegexpMatches(out, ' 2 two.+\n 3 three.+\n 1 one') + 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') if __name__ == "__main__":