Commit 2b28df77 authored by Jérome Perrin's avatar Jérome Perrin

testXHTML: more verbose error message

parent 98490ad7
......@@ -128,8 +128,8 @@ class TestXHTMLMixin(ERP5TypeTestCase):
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' % \
portal_type.getId())
error_list.append('"%s" should use erp5_ui for %s' % \
portal_type.getId(), k)
if error_list:
message = '\nBad portal_type domain translation list%s\n' \
% '\n\t'.join(error_list)
......
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