PR: missing imports when tests are executed alone

This commit is contained in:
prascle 2013-04-10 09:16:19 +00:00
parent d6941cf347
commit c211b11fa1
4 changed files with 5 additions and 1 deletions

View File

@ -25,11 +25,13 @@
# Author : Sergey LITONIN # Author : Sergey LITONIN
# Module : SMESH # Module : SMESH
# #
import salome
import SMESH_mechanic import SMESH_mechanic
import SMESH, SALOMEDS import SMESH, SALOMEDS
from salome.smesh import smeshBuilder from salome.smesh import smeshBuilder
smesh = smeshBuilder.New(salome.myStudy) smesh = smeshBuilder.New(salome.myStudy)
mesh = SMESH_mechanic.mesh
# ---- Criterion : AREA > 100 # ---- Criterion : AREA > 100

View File

@ -25,6 +25,7 @@
# SMESH_fixation.py # SMESH_fixation.py
# Hypothesis and algorithms for the mesh generation are global # Hypothesis and algorithms for the mesh generation are global
# #
import salome
import SMESH_fixation import SMESH_fixation
import SMESH, SALOMEDS import SMESH, SALOMEDS

View File

@ -25,6 +25,7 @@
# SMESH_fixation.py # SMESH_fixation.py
# The new Netgen algorithm is used that discretizes baoundaries itself # The new Netgen algorithm is used that discretizes baoundaries itself
# #
import salome
import SMESH_fixation import SMESH_fixation
import SMESH, SALOMEDS import SMESH, SALOMEDS

View File

@ -25,7 +25,7 @@
# SMESH_fixation.py # SMESH_fixation.py
# Hypothesis and algorithms for the mesh generation are global # Hypothesis and algorithms for the mesh generation are global
# #
import salome
import SMESH_fixation import SMESH_fixation
import SMESH, SALOMEDS import SMESH, SALOMEDS