diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 89b2725615913a3c144b2694d62a6e4c999f45ae..2c4f3a2c8fa8991fe987d4204798d48af176a4a4 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -660,6 +660,10 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase): return ResponseWrapper(response, outstream, path) + def getConsistencyMessageList(self, obj): + return sorted([ str(message.getMessage()) + for message in obj.checkConsistency() ]) + class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): def getPortalName(self):