From 9170a1c94870ed4d08c0d0c0a73f988d26e0b983 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 17 Feb 2022 10:04:17 +0100 Subject: [PATCH] Finaly dont touch salome_test_driver and delegate SSL stuff to salome_instance.py --- bin/appliskel/salome_tester/salome_instance.py | 2 ++ bin/appliskel/salome_tester/salome_test_driver.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/appliskel/salome_tester/salome_instance.py b/bin/appliskel/salome_tester/salome_instance.py index 2eaf70d3e..28e29853f 100755 --- a/bin/appliskel/salome_tester/salome_instance.py +++ b/bin/appliskel/salome_tester/salome_instance.py @@ -27,6 +27,8 @@ import os class SalomeInstance: def __init__(self): + import KernelBasis + KernelBasis.setSSLMode(False) self.port = None # diff --git a/bin/appliskel/salome_tester/salome_test_driver.py b/bin/appliskel/salome_tester/salome_test_driver.py index 7b0efad17..38888491f 100755 --- a/bin/appliskel/salome_tester/salome_test_driver.py +++ b/bin/appliskel/salome_tester/salome_test_driver.py @@ -127,8 +127,6 @@ if __name__ == "__main__": from salome_instance import SalomeInstance res = 1 try: - import KernelBasis - KernelBasis.setSSLMode(False) salome_instance = SalomeInstance.start(shutdown_servers=True) port = salome_instance.get_port() res, out, err = runTest(test_and_args) -- 2.39.2