Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Task 3.2. To keep compounds’ sub-shapes for all operations (issue #3139)
[modules/shaper.git]
/
test.API
/
SHAPER
/
Transformations
/
TestAPI_Translation.py
diff --git
a/test.API/SHAPER/Transformations/TestAPI_Translation.py
b/test.API/SHAPER/Transformations/TestAPI_Translation.py
index 02bd3161882085ad7e41184004886be033a161e1..c9c0f4c3e15fe248073553364f84fa0a0fe92599 100644
(file)
--- a/
test.API/SHAPER/Transformations/TestAPI_Translation.py
+++ b/
test.API/SHAPER/Transformations/TestAPI_Translation.py
@@
-122,19
+122,19
@@
except myExcept as ec:
try:
Translation_22 = shaperpy.makeTranslation(None, ax1, 15.)
except myExcept as ec:
try:
Translation_22 = shaperpy.makeTranslation(None, ax1, 15.)
except myExcept as ec:
- assert(ec.what() == "Trans
lation builder :: source shape is not valid
.")
+ assert(ec.what() == "Trans
formation :: incorrect input data
.")
try:
Translation_23 = shaperpy.makeTranslation(None, 10., 20., 15.)
except myExcept as ec:
try:
Translation_23 = shaperpy.makeTranslation(None, 10., 20., 15.)
except myExcept as ec:
- assert(ec.what() == "Trans
lation builder :: source shape is not valid
.")
+ assert(ec.what() == "Trans
formation :: incorrect input data
.")
try:
Translation_24 = shaperpy.makeTranslation(None, pnt1, pnt2)
except myExcept as ec:
try:
Translation_24 = shaperpy.makeTranslation(None, pnt1, pnt2)
except myExcept as ec:
- assert(ec.what() == "Trans
lation builder :: source shape is invalid
.")
+ assert(ec.what() == "Trans
formation :: incorrect input data
.")
try:
Translation_25 = shaperpy.makeTranslation(shape(), ax1, 15.)
except myExcept as ec:
try:
Translation_25 = shaperpy.makeTranslation(shape(), ax1, 15.)
except myExcept as ec:
- assert(ec.what() == "Trans
lation builder
:: source shape does not contain any actual shape.")
+ assert(ec.what() == "Trans
formation
:: source shape does not contain any actual shape.")