Commit 0b07c7bb authored by Julien Muchembled's avatar Julien Muchembled

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
parent 62ed7aa0
......@@ -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' % \
......
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