Commit 9d1e91c1 authored by Jérome Perrin's avatar Jérome Perrin

make sure created modules will be in module type list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20033 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8993ed8
...@@ -104,6 +104,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -104,6 +104,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self.portal._getOb(module_id).getTitle()) self.portal._getOb(module_id).getTitle())
self.assertNotEqual(types_tool.getTypeInfo(module_portal_type), None) self.assertNotEqual(types_tool.getTypeInfo(module_portal_type), None)
self.assertNotEqual(types_tool.getTypeInfo(object_portal_type), None) self.assertNotEqual(types_tool.getTypeInfo(object_portal_type), None)
self.assertTrue(module_portal_type in self.getPortalModuleTypeList())
skin_folder = skins_tool._getOb(portal_skins_folder, None) skin_folder = skins_tool._getOb(portal_skins_folder, None)
self.assertNotEqual(skin_folder, None) self.assertNotEqual(skin_folder, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment