Commit 537aebad authored by Vincent Pelletier's avatar Vincent Pelletier

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.
parent 01ed75a8
...@@ -316,6 +316,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor): ...@@ -316,6 +316,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self.commit() self.commit()
self.assertEqual(organisation.getTitle(),self.title1) self.assertEqual(organisation.getTitle(),self.title1)
self.assertEqual(organisation.getDescription(),self.title1) self.assertEqual(organisation.getDescription(),self.title1)
self.tic()
@for_each_activity @for_each_activity
def testTryTwoMethodsAndFlushThem(self, activity): def testTryTwoMethodsAndFlushThem(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