Commit 5085a8b7 authored by Romain Courteaud's avatar Romain Courteaud

Trigger all alarms at each tic

parent 4dd033e8
......@@ -376,8 +376,9 @@ class testVifibMixin(ERP5TypeTestCase):
sm = getSecurityManager()
self.login()
try:
if 'vifib_trigger_build' in self.portal.portal_alarms.objectIds():
self.portal.portal_alarms.vifib_trigger_build.Alarm_buildVifibPath()
for alarm in self.portal.portal_alarms.contentValues():
if alarm.isEnabled() and (alarm.getId() != 'vifib_check_consistency'):
alarm.activeSense()
finally:
setSecurityManager(sm)
......
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