Correct test runner after switch default run mode to SSL

This commit is contained in:
vsr 2022-02-18 18:32:34 +03:00
parent 82116e7ff8
commit 7b665239fa

View File

@ -23,8 +23,8 @@ import unittest, sys, os
class SalomeSession(object):
def __init__(self, script):
import runSalome
run_script = "runSalome.py"
import runSalomeOld as runSalome
run_script = "runSalomeOld.py"
if sys.platform == 'win32':
module_dir = os.getenv("KERNEL_ROOT_DIR")
if module_dir: run_script = os.path.join(module_dir, "bin", "salome", run_script)