From 81ee1af5c3abd63e1bf238c810aa2685a0f2cc42 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 23 Feb 2022 08:22:41 +0100 Subject: [PATCH] Fix of 2 last errors in salome test in SSL mode --- src/MEDCalc/test/tui/import_pvsimple.py | 2 ++ src/MEDCalc/test/tui/interpolate_field_float.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MEDCalc/test/tui/import_pvsimple.py b/src/MEDCalc/test/tui/import_pvsimple.py index b913291f2..6d0af3959 100644 --- a/src/MEDCalc/test/tui/import_pvsimple.py +++ b/src/MEDCalc/test/tui/import_pvsimple.py @@ -17,4 +17,6 @@ # 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 c8d24058b..88cf72cbf 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() +salome.salome_init_with_session() ### ### FIELDS component -- 2.39.2