Commit 2a2e21e7 authored by Fabien Morin's avatar Fabien Morin

test should be on id, not on title


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29595 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0da3c137
......@@ -165,8 +165,8 @@ class TestXHTML(ERP5TypeTestCase):
portal_types_module = self.portal.portal_types
for portal_type in portal_types_module.contentValues(portal_type=\
'Base Type'):
if portial_type.getTitle().endswith('Module') or
portial_type.getTitle().endswith('Tool'):
if portial_type.getId().endswith('Module') or
portial_type.getId().endswith('Tool'):
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