From d2d75f958540804e2bf794912c33275772ef6996 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 21 Feb 2022 17:35:23 +0900 Subject: [PATCH] testCMFActivity: Execute any further activity in TryActiveProcessWithResultDict. --- product/CMFActivity/tests/testCMFActivity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/CMFActivity/tests/testCMFActivity.py b/product/CMFActivity/tests/testCMFActivity.py index cf58e1eb1e..2cec1738f6 100644 --- a/product/CMFActivity/tests/testCMFActivity.py +++ b/product/CMFActivity/tests/testCMFActivity.py @@ -462,6 +462,9 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor): result = result_dict[3] self.assertEqual(result_dict[3].method_id, 'getTitle') 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 def testTryMethodAfterMethod(self, activity): -- 2.30.9