From f31da3bfa26c395fdda600511723ccb1989b6083 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 30 Aug 2011 23:40:17 -0400 Subject: Sort lists so order is predictable and tests pass as expected. Related to https://fedorahosted.org/freeipa/ticket/1272 --- tests/test_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_util.py') diff --git a/tests/test_util.py b/tests/test_util.py index 0a253adfa..f87822a22 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -180,7 +180,7 @@ def test_assert_deepequal(): ] e = raises(AssertionError, f, a, b, 'foo') assert str(e) == TYPE % ( - 'foo', unicode, str, u'hello', 'hello', (0,) + 'foo', unicode, str, u'hello', 'hello', (2,) ) b = [ @@ -200,7 +200,7 @@ def test_assert_deepequal(): ] e = raises(AssertionError, f, a, b, 'foo') assert str(e) == TYPE % ( - 'foo', int, float, 18, 18.0, (2,) + 'foo', int, float, 18, 18.0, (0,) ) # List length mismatch -- cgit