mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Sort lists so order is predictable and tests pass as expected.
Related to https://fedorahosted.org/freeipa/ticket/1272
This commit is contained in:
committed by
Martin Kosek
parent
d05ace8fba
commit
8f5e82940f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user