Commit 100a844a authored by Sebastien Robin's avatar Sebastien Robin

define the size_list in a different place


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5e145ec
...@@ -71,6 +71,11 @@ class TestOrderMixin: ...@@ -71,6 +71,11 @@ class TestOrderMixin:
packing_list_cell_portal_type = 'Sale Packing List Cell' packing_list_cell_portal_type = 'Sale Packing List Cell'
delivery_builder_id = 'sale_packing_list_builder' delivery_builder_id = 'sale_packing_list_builder'
order_workflow_id='order_workflow' order_workflow_id='order_workflow'
size_list = ['Baby','Child/32','Child/34','Man','Woman']
def stepCommit(self,**kw):
get_transaction().commit()
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
...@@ -161,8 +166,7 @@ class TestOrderMixin: ...@@ -161,8 +166,7 @@ class TestOrderMixin:
industrial_phase_list=["phase1", "phase2"], industrial_phase_list=["phase1", "phase2"],
product_line = 'apparel' product_line = 'apparel'
) )
size_list = ['Baby','Child/32','Child/34','Man','Woman'] resource.setSizeList(self.size_list)
resource.setSizeList(size_list)
# Add colour variation # Add colour variation
colour_variation_count = 3 colour_variation_count = 3
for i in range(colour_variation_count): for i in range(colour_variation_count):
...@@ -1722,6 +1726,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase): ...@@ -1722,6 +1726,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
ConfirmOrder \ ConfirmOrder \
Tic \ Tic \
Tic \ Tic \
Commit \
CheckDeliveryBuilding \ CheckDeliveryBuilding \
' '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
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