Salome HOME
Merge changes from 'master' branch.
[modules/homard.git] / src / tests / Test / test_4.py
index 971c73e71bfd9241f506ffb5efec6d4f35044ca1..6a83c6f8e1bd60aa7dd1a724e63f6ce32907790f 100755 (executable)
@@ -21,7 +21,7 @@
 Python script for HOMARD
 Test test_4
 """
-__revision__ = "V2.2"
+__revision__ = "V3.01"
 
 #========================================================================
 TEST_NAME = "test_4"
@@ -321,7 +321,7 @@ try :
   if ERROR :
     raise Exception('Pb in geom_smesh_exec')
 except Exception as eee:
-  raise Exception('Pb in geom_smesh_exec: ' + str(eee))
+  raise Exception('Pb in geom_smesh_exec: '+str(eee.message))
 
 HOMARD = salome.lcc.FindOrLoadComponent('FactoryServer', 'HOMARD')
 assert HOMARD is not None, "Impossible to load homard engine"
@@ -334,7 +334,7 @@ try :
   if ERROR :
     raise Exception('Pb in homard_exec at iteration %d' %ERROR )
 except Exception as eee:
-  raise Exception('Pb in homard_exec: ' + str(eee))
+  raise Exception('Pb in homard_exec: '+str(eee.message))
 #
 # Test of the results
 #