From c627c9aeea83500e870a2844acaf971cd411a477 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 15 Feb 2017 15:04:30 +0300 Subject: [PATCH] 0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consistent with GUI behavior Update according changes of SMESH API. --- src/tests/Test/test_4.py | 4 ++-- src/tests/Test/test_5.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 # -- 2.39.2