[Erp5-report] r16773 - /erp5/trunk/products/ERP5/tests/testInventoryAPI.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 2 13:23:35 CEST 2007


Author: vincent
Date: Tue Oct  2 13:23:35 2007
New Revision: 16773

URL: http://svn.erp5.org?rev=16773&view=rev
Log:
Fix a typo in comment.
Make docstring more accurate.

Modified:
    erp5/trunk/products/ERP5/tests/testInventoryAPI.py

Modified: erp5/trunk/products/ERP5/tests/testInventoryAPI.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInventoryAPI.py?rev=16773&r1=16772&r2=16773&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInventoryAPI.py (original)
+++ erp5/trunk/products/ERP5/tests/testInventoryAPI.py Tue Oct  2 13:23:35 2007
@@ -1461,7 +1461,7 @@
                                       omit_output=1)
     if full_inventory:
       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.
     #else:
     #  inventory_list.append({'resource_relative_url': '','total_quantity': 50,'variation_text': ''})
@@ -1756,7 +1756,7 @@
 
   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 = self.getInventoryList(node_uid=self.node_uid,




More information about the Erp5-report mailing list