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-Tag: V9_0_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c627c9aeea83500e870a2844acaf971cd411a477;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 eadda0ce..971c73e7 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 as eee: error = 2 - raise Exception('ExportToMEDX() failed. ' + str(eee)) + raise Exception('ExportMED() failed. ' + str(eee)) # break # diff --git a/src/tests/Test/test_5.py b/src/tests/Test/test_5.py index 38ed4b01..30fe52b8 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 as eee: error = 2 - raise Exception('ExportToMEDX() failed. ' + str(eee)) + raise Exception('MEDFileUMesh.write() failed. ' + str(eee)) # break #