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: ...@@ -154,12 +154,20 @@ class TestERP5BankingTravelerCheckSaleMixin:
# in the source # in the source
self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model') self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model')
self.createCheckbookReceptionWithTravelerCheck() self.createCheckbookReceptionWithTravelerCheck()
get_transaction().commit()
self.tic()
self.checkItemsCreatedWithTravelerCheck() self.checkItemsCreatedWithTravelerCheck()
get_transaction().commit()
self.tic()
self.createCheckbookVaultTransferWithTravelerCheck() self.createCheckbookVaultTransferWithTravelerCheck()
get_transaction().commit()
self.tic()
# open counter date and counter # open counter date and counter
self.openCounterDate(site=self.paris) self.openCounterDate(site=self.paris)
self.openCounter(site=self.destination_site) self.openCounter(site=self.destination_site)
self.createCheckbookUsualCashTransferWithTravelerCheck() self.createCheckbookUsualCashTransferWithTravelerCheck()
get_transaction().commit()
self.tic()
def stepCreateTravelerCheckLineList(self, sequence=None, sequence_list=None, **kwd): 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