Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deleted Study parameter
[plugins/blsurfplugin.git]
/
tests
/
test_enforced_internal_vertex.py
diff --git
a/tests/test_enforced_internal_vertex.py
b/tests/test_enforced_internal_vertex.py
index 5459def29e8e7fb5f2573ca878c4b71882dba258..574101d9e71a736c277a4d0276192d16d9ce5e90 100644
(file)
--- a/
tests/test_enforced_internal_vertex.py
+++ b/
tests/test_enforced_internal_vertex.py
@@
-5,7
+5,7
@@
import math
import GEOM
from salome.geom import geomBuilder
import GEOM
from salome.geom import geomBuilder
-geompy = geomBuilder.New(
salome.myStudy
)
+geompy = geomBuilder.New()
r = 10
dist = 10
r = 10
dist = 10
@@
-31,7
+31,7
@@
geompy.addToStudyInFather(box, left, "left")
import SMESH
from salome.smesh import smeshBuilder
import SMESH
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
Mesh = smesh.Mesh(part, "Mesh")
Mesh = smesh.Mesh(part, "Mesh")
@@
-50,5
+50,5
@@
x, y, z = Mesh.GetNodeXYZ(id_node)
assert("%.2f, %.2f, %.2f"%(x, y, z) == "%.2f, %.2f, %.2f"%(dist_coin, 0, dist_coin))
assert("%.2f, %.2f, %.2f"%(x, y, z) == "%.2f, %.2f, %.2f"%(dist_coin, 0, dist_coin))
-salome.sg.updateObjBrowser(
True
)
+salome.sg.updateObjBrowser()