From 7c2e64b51552b8f583eb44c46d88f7ea0b5e1c9b Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Fri, 7 May 2010 07:30:29 +0000 Subject: [PATCH] this Quantity Unit Definition inverse property test should have been committed long ago git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35094 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testInventoryAPI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/tests/testInventoryAPI.py b/product/ERP5/tests/testInventoryAPI.py index f134e88da9..88461f8f06 100644 --- a/product/ERP5/tests/testInventoryAPI.py +++ b/product/ERP5/tests/testInventoryAPI.py @@ -2506,7 +2506,8 @@ class TestUnitConversionDefinition(BaseTestUnitConversion): unit = base_unit.newContent( portal_type='Quantity Unit Conversion Definition', quantity_unit='unit/lot', - quantity=50,) + inverse=True, + quantity=1.0/50,) unit.validate() self._safeTic() -- 2.30.9