Correct test runner after switch default run mode to SSL

This commit is contained in:
vsr 2022-02-18 18:30:03 +03:00
parent f504886648
commit 79d9367898

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)