diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 03a684f1291f6a2f7a050ffd03a40200ffdc1eb9..f727dcf15584803683cd14463413eeccd9768268 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -509,6 +509,7 @@ class ERP5TypeTestCase(PortalTestCase): if error_message is not None: self.assertEqual(str(workflow_history[-1]['error_message']), error_message) self.assertEqual(object.getSimulationState(), reference_workflow_state) + return error_message def setupERP5Site( business_template_list=(), app=None,