Commit 69d9157f authored by Paul Graydon's avatar Paul Graydon

ERP5TypeFunctionalTestCase: Add error message to activities assertion

See merge request nexedi/erp5!1912
parent 6dad9f33
...@@ -13,7 +13,8 @@ def waitForActivities(self, delay=100, count=None): ...@@ -13,7 +13,8 @@ def waitForActivities(self, delay=100, count=None):
activity_tool = self.getPortalObject().portal_activities activity_tool = self.getPortalObject().portal_activities
assert not ( assert not (
activity_tool.isSubscribed() activity_tool.isSubscribed()
and getCurrentNode() in activity_tool.getProcessingNodeList()) and getCurrentNode() in activity_tool.getProcessingNodeList()),
'still subscribed to activities'
if count is not None: # BBB if count is not None: # BBB
# completely arbitrary conversion factor: count used to default to 1000 # completely arbitrary conversion factor: count used to default to 1000
......
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