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

Fixup 63c2f8a9

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