changeset 0e46adaa68fb in modules/production:default
details: 
https://hg.tryton.org/modules/production?cmd=changeset&node=0e46adaa68fb
description:
        Adapt tests to centimeters capitalization

        issue10973
        review364411002
diffstat:

 tests/scenario_production.rst |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8f0ad3669cf3 -r 0e46adaa68fb tests/scenario_production.rst
--- a/tests/scenario_production.rst     Mon Nov 01 17:11:13 2021 +0100
+++ b/tests/scenario_production.rst     Tue Nov 23 14:41:20 2021 +0100
@@ -56,7 +56,7 @@
     >>> component1, = template1.products
 
     >>> meter, = ProductUom.find([('name', '=', 'Meter')])
-    >>> centimeter, = ProductUom.find([('name', '=', 'centimeter')])
+    >>> centimeter, = ProductUom.find([('name', '=', 'Centimeter')])
 
     >>> template2 = ProductTemplate()
     >>> template2.name = 'component 2'

Reply via email to