From: Anthony Geay Date: Tue, 19 Jan 2016 08:20:26 +0000 (+0100) Subject: Simple porting to medfile 3.2.0 X-Git-Tag: V8_0_0b1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c805568ba1d421468927181d7082e16a43cd44cd;p=tools%2Fmedcoupling.git Simple porting to medfile 3.2.0 --- diff --git a/src/MEDLoader/Swig/MEDLoaderTest1.py b/src/MEDLoader/Swig/MEDLoaderTest1.py index 38ee4afa9..404e45ed3 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest1.py +++ b/src/MEDLoader/Swig/MEDLoaderTest1.py @@ -260,10 +260,11 @@ class MEDLoaderTest(unittest.TestCase): # ret=MEDLoader.MEDLoader.GetMeshFamiliesNamesOnGroup(fileName,"3DToto","3DMesh_1"); self.assertEqual(4,len(ret)); - self.assertEqual(ret[0],"Family_-2"); - self.assertEqual(ret[1],"Family_-3"); - self.assertEqual(ret[2],"Family_-4"); - self.assertEqual(ret[3],"Family_-5"); + ref=['Family_-3','Family_-4','Family_-2','Family_-5'] + self.assertIn(ref[0],ret); + self.assertIn(ref[1],ret); + self.assertIn(ref[2],ret); + self.assertIn(ref[3],ret); # ret1=MEDLoader.MEDLoader.GetMeshGroupsNamesOnFamily(fileName,"3DToto","Family_-3"); self.assertEqual(2,len(ret1));