Commit 8653e043 authored by Grégory Wisniewski's avatar Grégory Wisniewski

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.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31032 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a569bd1d
......@@ -544,9 +544,10 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
'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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment