Commit d19f1067 authored by wenjie.zheng's avatar wenjie.zheng

testBase.py: in CheckIfMessageQueueIsEmpty, wait until activities finished before check.

parent 1c4c9f9b
......@@ -216,6 +216,7 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
Check if there is no activity in activity queue.
"""
portal = self.getPortal()
self.tic()
message_list = portal.portal_activities.getMessageList()
self.assertEqual(len(message_list), 0)
......
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