details:   https://code.tryton.org/tryton/commit/22c220cb3dd6
branch:    default
user:      Cédric Krier <[email protected]>
date:      Thu Nov 26 11:57:03 2026 +0100
description:
        Do not execute twice the end state of the wizard to pack packages in 
test scenario

        Closes #15279
diffstat:

 modules/stock_package/tests/scenario_stock_package.rst |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 1a09fd22640e -r 22c220cb3dd6 
modules/stock_package/tests/scenario_stock_package.rst
--- a/modules/stock_package/tests/scenario_stock_package.rst    Sun Nov 29 
09:13:03 2026 +0100
+++ b/modules/stock_package/tests/scenario_stock_package.rst    Thu Nov 26 
11:57:03 2026 +0100
@@ -144,7 +144,8 @@
     >>> package_pack.execute('add_move')
     >>> package_pack.form.source, = package_pack.form.allowed_moves
     >>> package_pack.execute('add_move')
-    >>> package_pack.execute('end')
+    >>> package_pack.state
+    'end'
     >>> shipment_pack.execute('end')
 
     >>> shipment_out.click('pack')

Reply via email to