Commit b06bad99 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Partially revert r31032, move fix code to broken test case.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31054 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 36b1d456
...@@ -547,7 +547,6 @@ class TestERP5BankingMixin(ERP5TypeTestCase): ...@@ -547,7 +547,6 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
'P10': 'france', # paris 'P10': 'france', # paris
'S10': 'spain', # madrid 'S10': 'spain', # madrid
'HQ1': 'france', # main 'HQ1': 'france', # main
'P11': 'france', # lyon
} }
self.paris = self.testsite.newContent(id='paris', portal_type='Category', codification='P10', vault_type='site') 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') self.madrid = self.testsite.newContent(id='madrid', portal_type='Category', codification='S10', vault_type='site')
......
...@@ -109,7 +109,12 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin): ...@@ -109,7 +109,12 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
# create categories # 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 # Before the test, we need to input the inventory
......
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