From 3a33bbf97b5b41a1f2efadf64e4982700040906e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 17 May 2013 11:30:50 +0200
Subject: [PATCH] fix test, after calling a set setter, there are not guarantee
 on the order of list getter

---
 product/ERP5Type/tests/testERP5Type.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/testERP5Type.py b/product/ERP5Type/tests/testERP5Type.py
index 12dc9ae801..dd572dac74 100644
--- a/product/ERP5Type/tests/testERP5Type.py
+++ b/product/ERP5Type/tests/testERP5Type.py
@@ -701,7 +701,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
       person.setRegionList(['beta', 'alpha', 'alpha'])
       self.assertEquals(person.getRegionList(), ['beta', 'alpha', 'alpha'])
       person.setRegionSet(['alpha', 'beta', 'alpha'])
-      self.assertEquals(person.getRegionList(), ['beta', 'alpha'])
+      self.assertEquals(sorted(person.getRegionList()), ['alpha', 'beta'])
       person.setDefaultRegion('alpha')
       self.assertEquals(person.getDefaultRegion(), 'alpha')
       self.assertEquals(sorted(person.getRegionSet()), ['alpha', 'beta'])
-- 
2.30.9