Commit e5d3e724 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Xiaowu Zhang

testInventoryReportModule: no need to set

parent c9be3089
...@@ -456,9 +456,10 @@ class TestInventoryReportModule(TestOrderMixin, SecurityTestCase): ...@@ -456,9 +456,10 @@ class TestInventoryReportModule(TestOrderMixin, SecurityTestCase):
sequence_list=None, **kw): sequence_list=None, **kw):
resource_list = sequence.get('resource_list') resource_list = sequence.get('resource_list')
resource = resource_list[-1] resource = resource_list[-1]
"""
resource.edit( resource.edit(
quantity_unit = ['unit/piece']) quantity_unit = ['unit/piece'])
"""
def stepTestCalculateProduct(self, sequence=None, sequence_list=None, **kw): def stepTestCalculateProduct(self, sequence=None, sequence_list=None, **kw):
inventory_report = self.getInventoryReportModule().newContent(portal_type='Inventory Report') inventory_report = self.getInventoryReportModule().newContent(portal_type='Inventory Report')
inventory_report.edit( inventory_report.edit(
......
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