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