From 5ddac0b49d4051bc17081e1556c11474996addba Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Mon, 30 May 2011 12:06:01 +0900
Subject: [PATCH] Add more comment.

---
 product/ERP5/tests/testInventoryModule.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5/tests/testInventoryModule.py b/product/ERP5/tests/testInventoryModule.py
index ca8b5aaf50..f57a8e93bf 100644
--- a/product/ERP5/tests/testInventoryModule.py
+++ b/product/ERP5/tests/testInventoryModule.py
@@ -568,6 +568,8 @@ class TestInventoryModule(TestOrderMixin, ERP5TypeTestCase):
     self.createVariatedInventoryLine(start_date=date,
                   sequence=sequence, quantity=quantity)
     inventory_line = inventory.objectValues(portal_type='Inventory Line')[0]
+    # Set non-default quantity unit to make sure that conversion correctly
+    # works and converted value is applied to stock.
     inventory_line.setQuantityUnitValue(self.portal.portal_categories.quantity_unit.unit.drum)
     self.createVariatedInventoryLine(start_date=date,
                   sequence=sequence, quantity=quantity)
-- 
2.30.9