From 5f78ebf80712d717fb1aad9b4f3d8eb9f1163c66 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 18 Mar 2022 10:38:13 +0300 Subject: [PATCH] Fix a problem with "import salome_test": incorrect address of ModuleCatalog in naming service --- src/KERNEL_PY/kernel_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2