Commit a502aec6 authored by Łukasz Nowak's avatar Łukasz Nowak

Create alarm calling methods.

parent 87912a12
...@@ -33,6 +33,7 @@ import Products.Vifib.tests.VifibMixin ...@@ -33,6 +33,7 @@ import Products.Vifib.tests.VifibMixin
from Products.ERP5Type.tests.utils import DummyMailHost from Products.ERP5Type.tests.utils import DummyMailHost
class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin): class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin):
def _setUpDummyMailHost(self): def _setUpDummyMailHost(self):
"""Do not play with NON persistent replacement of MailHost""" """Do not play with NON persistent replacement of MailHost"""
if not self.isLiveTest(): if not self.isLiveTest():
...@@ -49,6 +50,7 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin): ...@@ -49,6 +50,7 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin):
return return
def afterSetUp(self): def afterSetUp(self):
self.createAlarmStep()
if self.isLiveTest(): if self.isLiveTest():
self.setUpPersistentDummyMailHost() self.setUpPersistentDummyMailHost()
return return
......
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