]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix a problem with "import salome_test": incorrect address of ModuleCatalog in naming...
authorvsr <vsr@opencascade.com>
Fri, 18 Mar 2022 07:38:13 +0000 (10:38 +0300)
committervsr <vsr@opencascade.com>
Fri, 18 Mar 2022 07:38:13 +0000 (10:38 +0300)
src/KERNEL_PY/kernel_test.py

index bff5c8944acb655ea7b3c5951e2bce19811b28f3..e181df9cd1e5065b3946bc3f972b8c3297305e46 100644 (file)
@@ -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)