From: vsr Date: Wed, 15 Feb 2017 12:04:30 +0000 (+0300) Subject: 0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consis... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=380608204557488eff0878d33db5aee8c1251e52;p=modules%2Fhomard.git 0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consistent with GUI behavior Update according changes of SMESH API. --- diff --git a/src/tests/Test/test_4.py b/src/tests/Test/test_4.py index e4facd3d..6d126285 100755 --- a/src/tests/Test/test_4.py +++ b/src/tests/Test/test_4.py @@ -127,10 +127,10 @@ Python script for GEOM and SMESH # try: ficmed = os.path.join(DIRCASE, 'maill.00.med') - box_m.ExportMED( ficmed, 0, SMESH.MED_V2_2, 1, None, 1) + box_m.ExportMED(ficmed) except Exception, eee: error = 2 - raise Exception('ExportToMEDX() failed. '+eee.message) + raise Exception('ExportMED() failed. '+eee.message) # break # diff --git a/src/tests/Test/test_5.py b/src/tests/Test/test_5.py index 07aa93f3..ad31482c 100755 --- a/src/tests/Test/test_5.py +++ b/src/tests/Test/test_5.py @@ -169,7 +169,7 @@ Python script for MED meshMEDFile3D.write(ficmed, 2) except Exception, eee: error = 2 - raise Exception('ExportToMEDX() failed. '+eee.message) + raise Exception('MEDFileUMesh.write() failed. '+eee.message) # break #