From: vsr Date: Tue, 29 Mar 2022 14:00:09 +0000 (+0300) Subject: Fix HDF tests in accordance with KERNEL changes: forcibly re-initialize session X-Git-Tag: V9_9_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8740b05589924e747155bbdd487b88b2e18e8e15;p=modules%2Fshaper.git Fix HDF tests in accordance with KERNEL changes: forcibly re-initialize session --- diff --git a/test.hdfs/test_hdf.py b/test.hdfs/test_hdf.py index 75819433d..26a4319c8 100644 --- a/test.hdfs/test_hdf.py +++ b/test.hdfs/test_hdf.py @@ -33,7 +33,7 @@ class TestHDF(unittest.TestCase): def setUp(self): salome.standalone() - salome.salome_init(self.testfile, embedded=1) + salome.salome_init(self.testfile, embedded=1, forced=True) myStudyName = salome.myStudy._get_Name() self.session = salome.naming_service.Resolve('/Kernel/Session') self.session.emitMessage("connect_to_study") @@ -83,4 +83,3 @@ if __name__ == "__main__": #qtsalome.qApp.closeAllWindows() import signal os.kill(os.getpid(),signal.SIGKILL) - \ No newline at end of file