Commit 7c2e64b5 authored by Nicolas Dumazet's avatar Nicolas Dumazet

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
parent bb774710
......@@ -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()
......
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