Commit 5b036203 authored by Sebastien Robin's avatar Sebastien Robin

fix random failures of testERP5Administration

parent 99c8071f
......@@ -84,10 +84,12 @@ class TestERP5Administration(InventoryAPITestCase):
person = self.portal.person_module.newContent(portal_type='Person')
# this document will be non consistent, for PropertyTypeValidity
person.title = 3
# tic right now to make sure the person is indexed, indeed the alarm
# could use catalog to retrieve objects to check
self.stepTic()
alarm.activeSense()
transaction.commit()
self.tic()
self.stepTic()
# some errors were detected
self.assertTrue(alarm.sense())
......
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