Commit 0a02423d authored by Vincent Pelletier's avatar Vincent Pelletier

Add commits & tics to make sure activites are executed during test initialisation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d9658e93
......@@ -154,12 +154,20 @@ class TestERP5BankingTravelerCheckSaleMixin:
# in the source
self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model')
self.createCheckbookReceptionWithTravelerCheck()
get_transaction().commit()
self.tic()
self.checkItemsCreatedWithTravelerCheck()
get_transaction().commit()
self.tic()
self.createCheckbookVaultTransferWithTravelerCheck()
get_transaction().commit()
self.tic()
# open counter date and counter
self.openCounterDate(site=self.paris)
self.openCounter(site=self.destination_site)
self.createCheckbookUsualCashTransferWithTravelerCheck()
get_transaction().commit()
self.tic()
def stepCreateTravelerCheckLineList(self, sequence=None, sequence_list=None, **kwd):
"""
......
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