Commit 08b850fc authored by Łukasz Nowak's avatar Łukasz Nowak

Be always login as super user.

Thanks to this running tests outside of Zope has similar conditions: Manager
is used.
parent b032de8d
......@@ -50,6 +50,7 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin):
return
def afterSetUp(self):
self.login()
self.createAlarmStep()
if self.isLiveTest():
self.setUpPersistentDummyMailHost()
......@@ -87,14 +88,11 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin):
self.clearCache()
self.login()
# Invoke Post-configurator script, this invokes all
# alarms related to configuration.
self.portal.BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList()
transaction.commit()
self.tic()
self.logout()
self.loginDefaultUser()
def getBusinessTemplateList(self):
"""
......
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