From: prascle Date: Fri, 7 Jul 2006 10:14:32 +0000 (+0000) Subject: PR: for 9772 (avoid deadlock with embedded python container) X-Git-Tag: T3_2_1_pre~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=690c7d17f7286176bb97b3c857d23f215a9d9187;p=modules%2Fkernel.git PR: for 9772 (avoid deadlock with embedded python container) --- diff --git a/src/LifeCycleCORBA_SWIG/Test/LifeCycleCORBA_SWIGTest.py b/src/LifeCycleCORBA_SWIG/Test/LifeCycleCORBA_SWIGTest.py index 347524308..ada3edbb0 100644 --- a/src/LifeCycleCORBA_SWIG/Test/LifeCycleCORBA_SWIGTest.py +++ b/src/LifeCycleCORBA_SWIG/Test/LifeCycleCORBA_SWIGTest.py @@ -176,7 +176,10 @@ class LifeCycleCORBA_SWIGTest(unittest.TestCase): """ containerName = "aFarAwayContainer" containerName += "/swTheContainer" - cp1=self.lcc.FindOrLoad_Component(containerName,"SalomeTestComponent") + try: + cp1=self.lcc.FindOrLoad_Component(containerName,"SalomeTestComponent") + except RuntimeError,ex : + self.assertEqual(ex.args[0],'SALOME exception') pass