Salome HOME
fixed incorrect call to salome.salome_init()
[modules/shaper.git] / test.API / SHAPER / Transformations / TestAPI_Translation.py
index 02bd3161882085ad7e41184004886be033a161e1..dbe63b73117fb694cbad7ced5f51e5c17aad4634 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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.")