Commit d2d75f95 authored by Vincent Pelletier's avatar Vincent Pelletier

testCMFActivity: Execute any further activity in TryActiveProcessWithResultDict.

parent fbd737e7
...@@ -462,6 +462,9 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor): ...@@ -462,6 +462,9 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
result = result_dict[3] result = result_dict[3]
self.assertEqual(result_dict[3].method_id, 'getTitle') self.assertEqual(result_dict[3].method_id, 'getTitle')
self.assertEqual(result.result , self.title1) self.assertEqual(result.result , self.title1)
# Execute any further activity which may have been spawned by activity
# execution (ex: fulltext indeation of the active process).
self.tic()
@for_each_activity @for_each_activity
def testTryMethodAfterMethod(self, activity): def testTryMethodAfterMethod(self, activity):
......
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