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

Fixup 63c2f8a9

parent 63c2f8a9
......@@ -380,14 +380,14 @@ class testVifibMixin(ERP5TypeTestCase):
def stepCheckSiteConsistency(self, **kw):
self.portal.portal_alarms.vifib_check_consistency.activeSense()
transaction.commit()
self.tic(**kw)
self.tic()
self.assertEqual([], self.portal.portal_alarms.vifib_check_consistency\
.Alarm_getConsistencyCheckReportLineList())
self.assertFalse(self.portal.portal_alarms.vifib_check_consistency.sense())
self.checkDivergency()
def stepCleanTic(self, **kw):
self.tic(**kw)
self.tic()
def stepTic(self, **kw):
def activateAlarm():
......@@ -410,13 +410,13 @@ class testVifibMixin(ERP5TypeTestCase):
activateAlarm()
transaction.commit()
self.tic(**kw)
self.tic()
# retrigger activateAlarm after tic
activateAlarm()
transaction.commit()
# tic after activateAlarm
self.tic(**kw)
self.tic()
self.checkDivergency()
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