[Erp5-report] r31032 gregory - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 3 14:50:14 CET 2009


Author: gregory
Date: Thu Dec  3 14:50:14 2009
New Revision: 31032

URL: http://svn.erp5.org?rev=31032&view=rev
Log:
Add Lyon to site/region mapping dict.

The Lyon site is at least used in MonetaryDestruction test case
Add comments to indicate the site name corresponding to the codification.

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

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=31032&r1=31031&r2=31032&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Thu Dec  3 14:50:14 2009
@@ -544,9 +544,10 @@
       'HQ1': ('FR', '000', '11112', '000000000000', '69'),
     }
     site_region_from_codification_dict = {
-      'P10': 'france',
-      'S10': 'spain',
-      'HQ1': 'france',
+      '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')




More information about the Erp5-report mailing list