Commit 01ed75a8 authored by Vincent Pelletier's avatar Vincent Pelletier

testCMFActivity: Make for_each_activity failures to get an empty activity list easier to debug.

parent 38fe00ca
...@@ -66,7 +66,9 @@ def for_each_activity(wrapped): ...@@ -66,7 +66,9 @@ def for_each_activity(wrapped):
for activity in ActivityTool.activity_dict: for activity in ActivityTool.activity_dict:
wrapped(self, activity) wrapped(self, activity)
self.abort() self.abort()
self.assertFalse(getMessageList()) self.assertFalse([
x.__dict__ for x in getMessageList()
])
return wraps(wrapped)(wrapper) return wraps(wrapped)(wrapper)
def registerFailingTransactionManager(*args, **kw): def registerFailingTransactionManager(*args, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment