]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
RNV: Porting to swig-3
authorMaintenance team (INV) <mnt@vm-f24-01.nnov.opencascade.com>
Tue, 24 Jan 2017 13:57:41 +0000 (16:57 +0300)
committerMaintenance team (INV) <mnt@vm-f24-01.nnov.opencascade.com>
Tue, 24 Jan 2017 13:57:41 +0000 (16:57 +0300)
src/MEDLoader/Swig/SauvLoaderTest.py

index 40b301940a06422b3445f9b14062009ea06b5b51..ffa9364e00be4794ec906f555a1fc424ad40181e 100644 (file)
@@ -134,8 +134,8 @@ class SauvLoaderTest(unittest.TestCase):
         self.assertEqual(1, um1.getNumberOfCellsWithType( NORM_TRI3 ))
         pointeUM0 = pointeMedMesh.getMeshAtLevel(0)
         self.assertTrue(m.getCoords().isEqualWithoutConsideringStr(pointeMedMesh.getCoords(),1e-12))
-        self.assertEqual( um0.getMeasureField(0).accumulate(0),
-                          pointeUM0.getMeasureField(0).accumulate(0),1e-12)
+        self.assertEqual( um0.getMeasureField(False).accumulate(0),
+                          pointeUM0.getMeasureField(False).accumulate(0),1e-12)
         # check fields
         # fieldnodedouble
         fieldnodedoubleTS1 = pointeMed.getFields().getFieldWithName("fieldnodedouble")