[Erp5-report] r31054 gregory - /erp5/trunk/products/ERP5Banking/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 3 17:52:15 CET 2009


Author: gregory
Date: Thu Dec  3 17:52:13 2009
New Revision: 31054

URL: http://svn.erp5.org?rev=31054&view=rev
Log:
Partially revert r31032, move fix code to broken test case.

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=31054&r1=31053&r2=31054&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Thu Dec  3 17:52:13 2009
@@ -547,7 +547,6 @@
       'P10': 'france', # paris
       'S10': 'spain',  # madrid
       'HQ1': 'france', # main
-      'P11': 'france', # lyon
     }
     self.paris = self.testsite.newContent(id='paris', portal_type='Category', codification='P10',  vault_type='site')
     self.madrid = self.testsite.newContent(id='madrid', portal_type='Category', codification='S10',  vault_type='site')

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py?rev=31054&r1=31053&r2=31054&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] Thu Dec  3 17:52:13 2009
@@ -109,7 +109,12 @@
     self.createManagerAndLogin()
 
     # create categories
-    self.createFunctionGroupSiteCategory(site_list=['paris','madrid', ('lyon', 'P11', 'testsite/auxiliaire')])
+    self.createFunctionGroupSiteCategory(site_list=[
+      'paris',
+      'madrid', 
+      ('lyon', 'P11', 'testsite/auxiliaire', 
+        ('FR', '000', '11113', '000000000000', '16'), 'france'),
+    ])
 
     # Before the test, we need to input the inventory
     




More information about the Erp5-report mailing list