]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Finaly dont touch salome_test_driver and delegate SSL stuff to salome_instance.py
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 17 Feb 2022 09:04:17 +0000 (10:04 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 17 Feb 2022 09:04:17 +0000 (10:04 +0100)
bin/appliskel/salome_tester/salome_instance.py
bin/appliskel/salome_tester/salome_test_driver.py

index 2eaf70d3ef976b41b1c5c6f3b7ba18f2766c51f5..28e29853fa20823d41bf5a35e73ea074892bc587 100755 (executable)
@@ -27,6 +27,8 @@ import os
 class SalomeInstance:
 
   def __init__(self):
+    import KernelBasis
+    KernelBasis.setSSLMode(False)
     self.port = None
   #
 
index 7b0efad1760dd220a45c2c18cf3cca112b91e7fa..38888491f25b60e670d4fddb0d65594291b6b54a 100755 (executable)
@@ -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)