[Erp5-report] r11267 - /erp5/trunk/products/ERP5Banking/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 13 10:24:48 CET 2006


Author: seb
Date: Mon Nov 13 10:24:47 2006
New Revision: 11267

URL: http://svn.erp5.org?rev=11267&view=rev
Log:
open the counter date before creating new objets

Modified:
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py?rev=11267&r1=11266&r2=11267&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py Mon Nov 13 10:24:47 2006
@@ -103,8 +103,6 @@
       }
     # call method to create this user
     self.createERP5Users(user_dict)
-    self.logout()
-    self.login('super_user')
 
     # create a person and a bank account
     self.person_1 = self.createPerson(id='person_1',
@@ -122,13 +120,15 @@
                                                  account_id='bank_account_1',
                                                  currency=self.currency_1,
                                                  amount=100000)
+    # open counter date and counter
+    self.openCounterDate(site=self.paris)
+    self.logout()
+    self.login('super_user')
     # this is required in order to have some items
     # in the source
     self.createCheckbookReception()
     self.checkItemsCreated()
     self.createCheckbookVaultTransfer()
-    # open counter date and counter
-    self.openCounterDate(site=self.paris)
 
 
 class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,




More information about the Erp5-report mailing list