Commit b6c8810d authored by Nicolas Dumazet's avatar Nicolas Dumazet

use assertSameSet to prevent ordering issues


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33847 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dad44bf9
......@@ -162,9 +162,9 @@ class TestTransformation(TestTransformationMixin, ERP5TypeTestCase):
transaction.commit()
self.tic()
self.assertEquals(
swimcap.getVariationCategoryList(),
transformation.getVariationCategoryList()
self.assertSameSet(
set(swimcap.getVariationCategoryList()),
set(transformation.getVariationCategoryList()),
)
def test_variationCategoryWithIndividualVariation(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment