From 8c1b3cfd7e36be1eb411eb7d769da5a5e480b3f9 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 31 Aug 2022 10:50:13 +0200 Subject: [PATCH] Move MEDCALC tests into SSL mode --- src/MEDCalc/test/tui/CTestTestfileInstall.cmake | 2 +- src/MEDCalc/test/tui/import_pvsimple.py | 2 -- src/MEDCalc/test/tui/interpolate_field_float.py | 2 +- src/MEDCalc/tui/medcorba.py | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/MEDCalc/test/tui/CTestTestfileInstall.cmake b/src/MEDCalc/test/tui/CTestTestfileInstall.cmake index c85eea0e4..f2e1f4f47 100644 --- a/src/MEDCalc/test/tui/CTestTestfileInstall.cmake +++ b/src/MEDCalc/test/tui/CTestTestfileInstall.cmake @@ -21,6 +21,6 @@ INCLUDE(tests.set) FOREACH(tfile ${TEST_NAMES}) SET(TEST_NAME ${COMPONENT_NAME}_${tfile}) - ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py) + ADD_TEST(${TEST_NAME} python ${PYTHON_TEST_DRIVER} ${TIMEOUT} ${tfile}.py) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}") ENDFOREACH() diff --git a/src/MEDCalc/test/tui/import_pvsimple.py b/src/MEDCalc/test/tui/import_pvsimple.py index af7d58b33..f27700992 100644 --- a/src/MEDCalc/test/tui/import_pvsimple.py +++ b/src/MEDCalc/test/tui/import_pvsimple.py @@ -17,6 +17,4 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -import KernelBasis -KernelBasis.setSSLMode(False) import pvsimple as pvs diff --git a/src/MEDCalc/test/tui/interpolate_field_float.py b/src/MEDCalc/test/tui/interpolate_field_float.py index 88cf72cbf..c8d24058b 100644 --- a/src/MEDCalc/test/tui/interpolate_field_float.py +++ b/src/MEDCalc/test/tui/interpolate_field_float.py @@ -4,7 +4,7 @@ import os import sys import salome -salome.salome_init_with_session() +salome.salome_init() ### ### FIELDS component diff --git a/src/MEDCalc/tui/medcorba.py b/src/MEDCalc/tui/medcorba.py index ac9adce5f..d55e8ed44 100644 --- a/src/MEDCalc/tui/medcorba.py +++ b/src/MEDCalc/tui/medcorba.py @@ -38,7 +38,7 @@ containerType = "FactoryServer" import salome if salome.lcc is None: - salome.salome_init_with_session() + salome.salome_init() pass import MEDCALC # corbaModule -- 2.39.2