Commit 272411bf authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add local patch on ERP5Banking tests into 1.0.x branch.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36674 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8fab6a8c
......@@ -300,6 +300,16 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
"""
return getattr(self.getPortal(), 'counter_module', None)
def stepTic(self, **kwd):
"""
The is used to simulate the zope_tic_loop script
Each time this method is called, it simulates a call to tic
which invoke activities in the Activity Tool
"""
# execute transaction
get_transaction().commit()
self.tic()
def createCurrency(self, currency_list=(('EUR', 'Euro', 1/652., 1/650., 'USD'), ('USD', 'USD', 652, 650., 'EUR')), only_currency=False):
# create the currency document for euro inside the currency module
#currency_list = (('EUR', 'Euro', 1/650., 'USD'), ('USD', 'Dollar', 650., 'EUR'))
......
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