From: Anthony Geay Date: Thu, 17 Feb 2022 09:04:17 +0000 (+0100) Subject: Finaly dont touch salome_test_driver and delegate SSL stuff to salome_instance.py X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9170a1c94870ed4d08c0d0c0a73f988d26e0b983;p=modules%2Fkernel.git Finaly dont touch salome_test_driver and delegate SSL stuff to salome_instance.py --- 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)