Commit 839844f5 authored by Romain Courteaud's avatar Romain Courteaud

Upgrade the definition of Apparel Model, in order to make the test working

again (Apparel Model has a new base caetgory industrial_phase).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3495 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60c8e6ce
...@@ -58,7 +58,8 @@ class TestResource(ERP5TypeTestCase): ...@@ -58,7 +58,8 @@ class TestResource(ERP5TypeTestCase):
# Global variables # Global variables
resource_portal_type = 'Apparel Model' resource_portal_type = 'Apparel Model'
variation_base_category_list = ['colour', 'size', 'morphology'] variation_base_category_list = ['colour', 'size', 'morphology',
'industrial_phase']
size_list = ['size/Child','size/Man'] size_list = ['size/Child','size/Man']
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
...@@ -123,7 +124,8 @@ class TestResource(ERP5TypeTestCase): ...@@ -123,7 +124,8 @@ class TestResource(ERP5TypeTestCase):
self.base_category_content_list = { self.base_category_content_list = {
'size':self.size_category_list, 'size':self.size_category_list,
'colour':self.colour_category_list, 'colour':self.colour_category_list,
'morphology':self.morphology_category_list 'morphology':self.morphology_category_list,
'industrial_phase':[]
} }
def stepTic(self,**kw): def stepTic(self,**kw):
......
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