[Erp5-report] r28945 - /erp5/trunk/products/ERP5/tests/testERP5Core.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 11 14:16:05 CEST 2009
Author: luke
Date: Fri Sep 11 14:16:04 2009
New Revision: 28945
URL: http://svn.erp5.org?rev=28945&view=rev
Log:
- check that business_application is base category for new created module
Modified:
erp5/trunk/products/ERP5/tests/testERP5Core.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Core.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Core.py?rev=28945&r1=28944&r2=28945&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Core.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Core.py [utf8] Fri Sep 11 14:16:04 2009
@@ -143,6 +143,9 @@
self.portal.unittest_module.getTitleTranslationDomain())
self.assertEquals('erp5_ui',
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):
More information about the Erp5-report
mailing list