testCMFActivity: Execute any pending activity at the end of testTryTwoMethods

Indexation activities may spawn further activities, and for_each_activity
expects the number of activities after a test to be zero.
12 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

07:18:37

failed ERP5.PerformanceTest-Master

03:06:40

failed ERP5.UnitTest-Master

01:15:51

failed ERP5.UnitTest-Master.Medusa

07:07:39

passed SlapOS.Eggs.UnitTest-Master.Python2

00:11:22

passed SlapOS.Eggs.UnitTest-Master.Python3

00:12:41

passed ERP5.CodingStyleTest-Master

01:11:27

passed ERP5.PerformanceTest-Master

00:25:42

failed ERP5.UnitTest-Master

04:02:18

failed ERP5.UnitTest-Master.Medusa

01:40:11

passed SlapOS.Eggs.UnitTest-Master.Python2

00:12:37

passed SlapOS.Eggs.UnitTest-Master.Python3

00:12:48