Commit 54c0afdf authored by Rafael Monnerat's avatar Rafael Monnerat

testSlapOSMixin: Don't setup alarms when bootstrap a site

  This should be ensured by configurator
parent 01da4c0a
...@@ -126,11 +126,6 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -126,11 +126,6 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal.portal_certificate_authority.manage_editCertificateAuthorityTool( self.portal.portal_certificate_authority.manage_editCertificateAuthorityTool(
certificate_authority_path=ca_path) certificate_authority_path=ca_path)
def setupPortalAlarms(self):
if not self.portal.portal_alarms.isSubscribed():
self.portal.portal_alarms.subscribe()
self.assertTrue(self.portal.portal_alarms.isSubscribed())
def isLiveTest(self): def isLiveTest(self):
#return 'ERP5TypeLiveTestCase' in [q.__name__ for q in self.__class__.mro()] #return 'ERP5TypeLiveTestCase' in [q.__name__ for q in self.__class__.mro()]
# XXX - What is the better way to know if we are in live test mode ? # XXX - What is the better way to know if we are in live test mode ?
...@@ -230,7 +225,6 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -230,7 +225,6 @@ class testSlapOSMixin(ERP5TypeTestCase):
def bootstrapSite(self): def bootstrapSite(self):
self.logMessage('SlapOS bootstrapSite') self.logMessage('SlapOS bootstrapSite')
self.setupPortalAlarms()
self.getDefaultSystemPreference().setPreferredHateoasUrl("http://dummy/") self.getDefaultSystemPreference().setPreferredHateoasUrl("http://dummy/")
self.clearCache() self.clearCache()
......
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