# 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.
import os, sys
import SalomePyQt
-from medcalc_testutils import GetScenarioDir
+
+from medcalc_testutils import GetScenarioDirGUI
sgPyQt = SalomePyQt.SalomePyQt()
sgPyQt.activateModule('MED')
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()!