Commit 527213ba authored by Vincent Pelletier's avatar Vincent Pelletier

Fix a typo in comment.

Make docstring more accurate.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 87176d50
...@@ -1461,7 +1461,7 @@ class TestInventoryDocument(InventoryAPITestCase): ...@@ -1461,7 +1461,7 @@ class TestInventoryDocument(InventoryAPITestCase):
omit_output=1) omit_output=1)
if full_inventory: if full_inventory:
inventory_list = [inventory_list[0]] inventory_list = [inventory_list[0]]
# TODO: Define a secon resource which will only be present in full # TODO: Define a second resource which will only be present in full
# inventories. This will allow testing getInentoryList. # inventories. This will allow testing getInentoryList.
#else: #else:
# inventory_list.append({'resource_relative_url': '','total_quantity': 50,'variation_text': ''}) # inventory_list.append({'resource_relative_url': '','total_quantity': 50,'variation_text': ''})
...@@ -1756,7 +1756,7 @@ class TestInventoryDocument(InventoryAPITestCase): ...@@ -1756,7 +1756,7 @@ class TestInventoryDocument(InventoryAPITestCase):
def test_11_InventoryListAroundLatestInventoryDate(self): def test_11_InventoryListAroundLatestInventoryDate(self):
""" """
Test getInventoryList with a min and a max date around a full Test getInventoryList with a min and a max date around latest full
inventory. A full inventory is used and is not the latest. inventory. A full inventory is used and is not the latest.
""" """
inventory = self.getInventoryList(node_uid=self.node_uid, inventory = self.getInventoryList(node_uid=self.node_uid,
......
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