Commit c0d423b7 authored by Jérome Perrin's avatar Jérome Perrin

fixup! testXHTML: more verbose error message

parent 2b28df77
...@@ -129,7 +129,7 @@ class TestXHTMLMixin(ERP5TypeTestCase): ...@@ -129,7 +129,7 @@ class TestXHTMLMixin(ERP5TypeTestCase):
for k, v in portal_type.getPropertyTranslationDomainDict().items(): for k, v in portal_type.getPropertyTranslationDomainDict().items():
if v.getDomainName() != 'erp5_ui': if v.getDomainName() != 'erp5_ui':
error_list.append('"%s" should use erp5_ui for %s' % \ error_list.append('"%s" should use erp5_ui for %s' % \
portal_type.getId(), k) (portal_type.getId(), k))
if error_list: if error_list:
message = '\nBad portal_type domain translation list%s\n' \ message = '\nBad portal_type domain translation list%s\n' \
% '\n\t'.join(error_list) % '\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