From: vsr Date: Fri, 18 Mar 2022 07:38:13 +0000 (+0300) Subject: Fix a problem with "import salome_test": incorrect address of ModuleCatalog in naming... X-Git-Tag: V9_9_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f78ebf80712d717fb1aad9b4f3d8eb9f1163c66;p=modules%2Fkernel.git Fix a problem with "import salome_test": incorrect address of ModuleCatalog in naming service --- diff --git a/src/KERNEL_PY/kernel_test.py b/src/KERNEL_PY/kernel_test.py index bff5c8944..e181df9cd 100644 --- a/src/KERNEL_PY/kernel_test.py +++ b/src/KERNEL_PY/kernel_test.py @@ -46,7 +46,7 @@ class TestKernel(unittest.TestCase): # ---- get module catalogue print('... Get module catalogue') import SALOME_ModuleCatalog - obj = salome.naming_service.Resolve('Kernel/ModulCatalog') + obj = salome.naming_service.Resolve('/Kernel/ModulCatalog') self.assertIsNotNone(obj) catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog) self.assertIsNotNone(catalog)