Adapt tests to centimeters capitalization

issue10973
This commit is contained in:
Raimon Esteve 2021-11-25 12:12:22 +01:00
parent 28ad04e05a
commit 1dac8dac24
1 changed files with 2 additions and 3 deletions

View File

@ -68,8 +68,8 @@ Create Components::
>>> component1.template = template1
>>> component1.save()
>>> meter, = ProductUom.find([('name', '=', 'Meter')])
>>> centimeter, = ProductUom.find([('name', '=', 'centimeter')])
>>> meter, = ProductUom.find([('symbol', '=', 'm')])
>>> centimeter, = ProductUom.find([('symbol', '=', 'cm')])
>>> component2 = Product()
>>> template2 = ProductTemplate()
>>> template2.name = 'component 2'
@ -115,4 +115,3 @@ Create Bill of Material::
>>> names = [str(x.position.name) for x in bom.drawing_lines]
>>> sorted(names)
['R1', 'R2']