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):
for k, v in portal_type.getPropertyTranslationDomainDict().items():
if v.getDomainName() != 'erp5_ui':
error_list.append('"%s" should use erp5_ui for %s' % \
portal_type.getId(), k)
(portal_type.getId(), k))
if error_list:
message = '\nBad portal_type domain translation list%s\n' \
% '\n\t'.join(error_list)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment