X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Ftest%2Fgui%2Ftest_scalarmap.py;h=cfcb3dd7526604b3c90fbe9cbee7babeda72f705;hb=684766015f20f7ba14452a1980ba470c67b7f34c;hp=6612eb67eb11464b43cead955cddfdd021bcf8e0;hpb=741cc009133588fab07c8ab5d24606fadd76b044;p=modules%2Fmed.git diff --git a/src/MEDCalc/test/gui/test_scalarmap.py b/src/MEDCalc/test/gui/test_scalarmap.py index 6612eb67e..cfcb3dd75 100644 --- a/src/MEDCalc/test/gui/test_scalarmap.py +++ b/src/MEDCalc/test/gui/test_scalarmap.py @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -""" Test of the scalarmap. +""" Test of the scalarmap. This script is to be passed as an argument of the ./salome command and will be executed within the SALOME Python console. @@ -25,7 +25,8 @@ Python console. import os, sys import SalomePyQt -from medcalc_testutils import GetScenarioDir + +from medcalc_testutils import GetScenarioDirGUI sgPyQt = SalomePyQt.SalomePyQt() sgPyQt.activateModule('MED') @@ -34,4 +35,4 @@ import medcalc # After module activation !! localTestDir = sys.argv[1] medcalc.PlayQtTestingScenario(os.path.join(localTestDir, 'test_scalarmap.xml')) -medcalc.RequestSALOMETermination() # not equivalent to quit()! +medcalc.RequestSALOMETermination() # not equivalent to quit()!