Commit 76801d86 authored by Rafael Monnerat's avatar Rafael Monnerat

Use UTF-8 and unicode to replace latin1 chars.

parent 8304e68e
......@@ -305,9 +305,10 @@ class FunctionalTestRunner:
</html>''' % detail
return detail.decode('ascii', "replace"), int(sucess_amount),\
# When return fix output for handle unicode issues.
return unicode(detail, "utf-8", "replace"), int(sucess_amount),\
[i.decode('ascii', "replace") for i in error_title_list]
[unicode(i, "utf-8", "replace") for i in error_title_list]
class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
run_only = ""
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