From 0b07c7bb84cc1577e6587b64dd0d959fb7225ef8 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Mon, 26 Oct 2009 14:30:16 +0000 Subject: [PATCH] TestXHTML: Do not test tools in test_portalTypesDomainTranslation Tools can be used for anything, not only for UI. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30009 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testXHTML.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py index 3142171de1..d1af4f2c17 100644 --- a/product/ERP5/tests/testXHTML.py +++ b/product/ERP5/tests/testXHTML.py @@ -177,8 +177,7 @@ class TestXHTML(ERP5TypeTestCase): portal_types_module = self.portal.portal_types for portal_type in portal_types_module.contentValues(portal_type=\ 'Base Type'): - if portal_type.getId().endswith('Module') or \ - portal_type.getId().endswith('Tool'): + if portal_type.getId().endswith('Module'): for k, v in portal_type.getPropertyTranslationDomainDict().items(): if v.getDomainName() != 'erp5_ui': error_list.append('"%s" should use erp5_ui' % \ -- 2.30.9