Commit 66f92844 authored by Vincent Pelletier's avatar Vincent Pelletier

Improve test comment to make tested feature clearer.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16063 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 85084db0
...@@ -672,7 +672,7 @@ class TestInventoryList(InventoryAPITestCase): ...@@ -672,7 +672,7 @@ class TestInventoryList(InventoryAPITestCase):
getInventoryList = self.getSimulationTool().getInventoryList getInventoryList = self.getSimulationTool().getInventoryList
self._makeMovement(quantity=100) self._makeMovement(quantity=100)
self._makeMovement(resource_value=self.other_resource, quantity=100) self._makeMovement(resource_value=self.other_resource, quantity=100)
# group_by_resource is implicit ... # group_by_resource is implicit when grouping by something ...
inventory_list = getInventoryList(node_uid=self.node.getUid(), inventory_list = getInventoryList(node_uid=self.node.getUid(),
group_by_node=1) group_by_node=1)
self.assertEquals(2, len(inventory_list)) self.assertEquals(2, len(inventory_list))
......
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