Commit 2cb078f9 authored by Łukasz Nowak's avatar Łukasz Nowak

Rename method.

parent 5c5e5156
...@@ -375,7 +375,7 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -375,7 +375,7 @@ class testVifibMixin(ERP5TypeTestCase):
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
def stepTic(self, **kw): def stepTic(self, **kw):
def build(): def activateAlarm():
sm = getSecurityManager() sm = getSecurityManager()
self.login() self.login()
try: try:
...@@ -391,17 +391,17 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -391,17 +391,17 @@ class testVifibMixin(ERP5TypeTestCase):
if kw.get('sequence', None) is None: if kw.get('sequence', None) is None:
# in case of using not in sequence commit transaction # in case of using not in sequence commit transaction
transaction.commit() transaction.commit()
# trigger build before tic # trigger activateAlarm before tic
build() activateAlarm()
transaction.commit() transaction.commit()
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
# retrigger build after tic # retrigger activateAlarm after tic
build() activateAlarm()
transaction.commit() transaction.commit()
# tic after build # tic after activateAlarm
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
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