Commit 12af1b66 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

since r29672, activities will be invoked by random order.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30029 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 451b6307
...@@ -2243,7 +2243,7 @@ class TestCMFActivity(ERP5TypeTestCase): ...@@ -2243,7 +2243,7 @@ class TestCMFActivity(ERP5TypeTestCase):
self.assertEqual(activity_tool.countMessage(method_id='appendToTitle'), 3) self.assertEqual(activity_tool.countMessage(method_id='appendToTitle'), 3)
self.flushAllActivities(silent=1, loop_size=100) self.flushAllActivities(silent=1, loop_size=100)
self.assertEqual(activity_tool.countMessage(method_id='appendToTitle'), 1) self.assertEqual(activity_tool.countMessage(method_id='appendToTitle'), 1)
self.assertEqual(obj.getTitle(), 'abd') self.assertEqual(sorted(obj.getTitle()), ['a', 'b', 'd'])
finally: finally:
delattr(Organisation, 'appendToTitle') delattr(Organisation, 'appendToTitle')
......
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