Commit 98b9781c authored by Łukasz Nowak's avatar Łukasz Nowak

Login temporarily as superuser to call alarm.

parent 8b8055e6
......@@ -161,7 +161,12 @@ class testVifibMixin(ERP5TypeTestCase):
"""
# setup new active process for this test, in order have
# consistency report local for one test
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.vifib_check_consistency.newActiveProcess()
finally:
setSecurityManager(sm)
self.setupPortalCertificateAuthority()
import random
self.portal.portal_caches.erp5_site_global_id = '%s' % random.random()
......
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