]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: for 9772 (avoid deadlock with embedded python container)
authorprascle <prascle>
Fri, 7 Jul 2006 10:14:32 +0000 (10:14 +0000)
committerprascle <prascle>
Fri, 7 Jul 2006 10:14:32 +0000 (10:14 +0000)
src/LifeCycleCORBA_SWIG/Test/LifeCycleCORBA_SWIGTest.py

index 347524308b40ad0891da4b7b3a98dec08264e0f2..ada3edbb0b887fcd1a2954cff0990c965af099af 100644 (file)
@@ -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