Salome HOME
Task 3.2. To keep compounds’ sub-shapes for all operations (issue #3139)
[modules/shaper.git] / test.API / SHAPER / Transformations / TestAPI_Translation.py
index 02bd3161882085ad7e41184004886be033a161e1..c9c0f4c3e15fe248073553364f84fa0a0fe92599 100644 (file)
@@ -122,19 +122,19 @@ except myExcept as ec:
 try:
     Translation_22 = shaperpy.makeTranslation(None, ax1, 15.)
 except myExcept as ec:
-    assert(ec.what() == "Translation builder :: source shape is not valid.")
+    assert(ec.what() == "Transformation :: incorrect input data.")
 
 try:
     Translation_23 = shaperpy.makeTranslation(None, 10., 20., 15.)
 except myExcept as ec:
-    assert(ec.what() == "Translation builder :: source shape is not valid.")
+    assert(ec.what() == "Transformation :: incorrect input data.")
 
 try:
     Translation_24 = shaperpy.makeTranslation(None, pnt1, pnt2)
 except myExcept as ec:
-    assert(ec.what() == "Translation builder :: source shape is invalid.")
+    assert(ec.what() == "Transformation :: incorrect input data.")
 
 try:
     Translation_25 = shaperpy.makeTranslation(shape(), ax1, 15.)
 except myExcept as ec:
-    assert(ec.what() == "Translation builder :: source shape does not contain any actual shape.")
+    assert(ec.what() == "Transformation :: source shape does not contain any actual shape.")