From 6114d0b5b8b6bb14e9964a3fa4c1ec8ce38b6b36 Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Thu, 25 Nov 2021 09:46:12 +0100 Subject: [PATCH] Adapt tests to centimeters capitalization issue10973 --- tests/scenario_production_operation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario_production_operation.rst b/tests/scenario_production_operation.rst index bffe62d..e8f1fa8 100644 --- a/tests/scenario_production_operation.rst +++ b/tests/scenario_production_operation.rst @@ -118,7 +118,7 @@ Create Components:: >>> component1.save() >>> meter, = ProductUom.find([('name', '=', 'Meter')]) - >>> centimeter, = ProductUom.find([('name', '=', 'centimeter')]) + >>> centimeter, = ProductUom.find([('symbol', '=', 'cm')]) >>> component2 = Product() >>> template2 = ProductTemplate() >>> template2.name = 'component 2'