[Erp5-report] r11437 - /erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Nov 22 15:39:50 CET 2006


Author: seb
Date: Wed Nov 22 15:39:48 2006
New Revision: 11437

URL: http://svn.erp5.org?rev=11437&view=rev
Log:
create the counter a bit later to make sure the security settings are well defined

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

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py?rev=11437&r1=11436&r2=11437&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py Wed Nov 22 15:39:48 2006
@@ -136,10 +136,6 @@
                                                  currency=self.currency_1,
                                                  amount=100000)
 
-    # open counter date and counter
-    self.openCounterDate(site=self.paris)
-    self.openCounter(site=self.bi_counter_vault)
-
     # now we need to create a user as Manager to do the test
     # in order to have an assigment defined which is used to do transition
     # Create an Organisation that will be used for users assignment
@@ -154,6 +150,10 @@
     self.createERP5Users(user_dict)
     self.logout()
     self.login('super_user')
+
+    # open counter date and counter
+    self.openCounterDate(site=self.paris)
+    self.openCounter(site=self.bi_counter_vault)
 
     # create a check
     self.checkbook_1 = self.createCheckbook(id= 'checkbook_1',




More information about the Erp5-report mailing list