From 0a02423d8e4f7a93062fe80a0273c95d8419fd82 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 21 Feb 2007 13:39:13 +0000 Subject: [PATCH] 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 --- .../ERP5Banking/tests/testERP5BankingTravelerCheckSale.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py index 6db0b4b580..87da0088ca 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py @@ -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): """ -- 2.30.9