From 380608204557488eff0878d33db5aee8c1251e52 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 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 # -- 2.39.2