Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MEDCalc] Add tui tests
[modules/med.git]
/
src
/
MEDCalc
/
test
/
gui
/
test_scalarmap.py
diff --git
a/src/MEDCalc/test/gui/test_scalarmap.py
b/src/MEDCalc/test/gui/test_scalarmap.py
index 6612eb67eb11464b43cead955cddfdd021bcf8e0..cfcb3dd7526604b3c90fbe9cbee7babeda72f705 100644
(file)
--- 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
#
# 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.
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
import os, sys
import SalomePyQt
-from medcalc_testutils import GetScenarioDir
+
+from medcalc_testutils import GetScenarioDirGUI
sgPyQt = SalomePyQt.SalomePyQt()
sgPyQt.activateModule('MED')
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'))
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()!