Commit 1c5deeef authored by Łukasz Nowak's avatar Łukasz Nowak

Call alarm as superuser.

parent 64180e3f
...@@ -332,7 +332,12 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -332,7 +332,12 @@ class testVifibMixin(ERP5TypeTestCase):
self.logout() self.logout()
def stepTriggerBuild(self, **kw): def stepTriggerBuild(self, **kw):
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.vifib_trigger_build.activeSense() self.portal.portal_alarms.vifib_trigger_build.activeSense()
finally:
setSecurityManager(sm)
def stepCheckSiteConsistency(self, **kw): def stepCheckSiteConsistency(self, **kw):
self.portal.portal_alarms.vifib_check_consistency.activeSense() self.portal.portal_alarms.vifib_check_consistency.activeSense()
......
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