Commit f72c83fd authored by Jérome Perrin's avatar Jérome Perrin

remove Commit step, check lines have cell content

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4aec77f3
...@@ -73,10 +73,6 @@ class TestOrderMixin: ...@@ -73,10 +73,6 @@ class TestOrderMixin:
order_workflow_id='order_workflow' order_workflow_id='order_workflow'
size_list = ['Baby','Child/32','Child/34','Man','Woman'] size_list = ['Baby','Child/32','Child/34','Man','Woman']
def stepCommit(self,**kw):
get_transaction().commit()
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
""" """
...@@ -325,6 +321,7 @@ class TestOrderMixin: ...@@ -325,6 +321,7 @@ class TestOrderMixin:
str(self.splitList(resource_vcl)[0])) str(self.splitList(resource_vcl)[0]))
order_line_vcl.extend(self.splitList(resource_vcl)[0]) order_line_vcl.extend(self.splitList(resource_vcl)[0])
order_line.setVariationCategoryList(order_line_vcl) order_line.setVariationCategoryList(order_line_vcl)
self.failUnless(order_line.hasCellContent())
def stepSetOrderLineFullVCL(self,sequence=None, sequence_list=None, **kw): def stepSetOrderLineFullVCL(self,sequence=None, sequence_list=None, **kw):
""" """
...@@ -336,6 +333,7 @@ class TestOrderMixin: ...@@ -336,6 +333,7 @@ class TestOrderMixin:
omit_individual_variation=0)) omit_individual_variation=0))
resource_vcl.sort() resource_vcl.sort()
order_line.setVariationCategoryList(resource_vcl) order_line.setVariationCategoryList(resource_vcl)
self.failUnless(order_line.hasCellContent())
def stepCheckOrderLineRange(self,sequence=None, sequence_list=None, **kw): def stepCheckOrderLineRange(self,sequence=None, sequence_list=None, **kw):
""" """
...@@ -1727,7 +1725,6 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase): ...@@ -1727,7 +1725,6 @@ 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