Salome HOME
PR: missing imports when tests are executed alone
authorprascle <prascle>
Wed, 10 Apr 2013 09:16:19 +0000 (09:16 +0000)
committerprascle <prascle>
Wed, 10 Apr 2013 09:16:19 +0000 (09:16 +0000)
src/SMESH_SWIG/SMESH_controls.py
src/SMESH_SWIG/SMESH_fixation_hexa.py
src/SMESH_SWIG/SMESH_fixation_netgen.py
src/SMESH_SWIG/SMESH_fixation_tetra.py

index e2ff1be234151dd2d0cd4f417a8799eb5944e851..5084f5c4db22936fb37534873d2dbd41b987181b 100644 (file)
 #  Author : Sergey LITONIN
 #  Module : SMESH
 #
+import salome
 import SMESH_mechanic
 
 import SMESH, SALOMEDS
 from salome.smesh import smeshBuilder
 smesh =  smeshBuilder.New(salome.myStudy)
+mesh = SMESH_mechanic.mesh
 
 # ---- Criterion : AREA > 100
 
index edcfef82132d84d8454556187eb63b6213cdf0df..489a2971fb71210c2d88155d0d936285eed3472c 100644 (file)
@@ -25,6 +25,7 @@
 # SMESH_fixation.py
 # Hypothesis and algorithms for the mesh generation are global
 #
+import salome
 import SMESH_fixation
 
 import SMESH, SALOMEDS
index d6f38cbc0c5a42a6de7871b4da6f31865a3e14f9..1f31fdd205d7eb365661a4eb4d64d2711ce3fc43 100644 (file)
@@ -25,6 +25,7 @@
 # SMESH_fixation.py
 # The new Netgen algorithm is used that discretizes baoundaries itself
 #
+import salome
 import SMESH_fixation
 
 import SMESH, SALOMEDS
index 9896da0348f89423ed4b63ca2b9157b41ce98489..77d1d37e15b13aacd0b810ecda88db6fd8cff823 100644 (file)
@@ -25,7 +25,7 @@
 # SMESH_fixation.py
 # Hypothesis and algorithms for the mesh generation are global
 #
-
+import salome
 import SMESH_fixation
 
 import SMESH, SALOMEDS