Commit bd7b28b3 authored by Łukasz Nowak's avatar Łukasz Nowak

- check that business_application is base category for new created module


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28945 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4b41e4f6
...@@ -143,6 +143,9 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -143,6 +143,9 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self.portal.unittest_module.getTitleTranslationDomain()) self.portal.unittest_module.getTitleTranslationDomain())
self.assertEquals('erp5_ui', self.assertEquals('erp5_ui',
self.portal.unittest_module.getShortTitleTranslationDomain()) self.portal.unittest_module.getShortTitleTranslationDomain())
type_information = self.portal.portal_types[module_portal_type]
self.assertTrue('business_application' in type_information.base_category_list)
def test_02_FavouritesMenu(self, quiet=quiet, run=run_all_test): def test_02_FavouritesMenu(self, quiet=quiet, run=run_all_test):
......
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