diff --git a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py index e4007eb1f77a0b2e32e24df5a9ccdaf587fde8cc..82eb545b3814c41b8097827035a21c9f304a019a 100755 --- a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py @@ -305,7 +305,9 @@ class FunctionalTestRunner: <body>%s</body> </html>''' % detail - return detail, int(sucess_amount), int(failure_amount), error_title_list + return detail.decode('ascii', "replace"), int(sucess_amount),\ + int(failure_amount),\ + [i.decode('ascii', "replace") for i in error_title_list] class ERP5TypeFunctionalTestCase(ERP5TypeTestCase): run_only = "" @@ -352,3 +354,4 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase): self.logMessage(detail) self.logMessage("-" * 79) self.assertEquals([], error_title_list) +