details: https://code.tryton.org/tryton/commit/f28404d422b5
branch: 8.2
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
(grafted from 22c220cb3dd6423ee7aa2292383bd715c6fbd596)
diffstat:
modules/stock_package/tests/scenario_stock_package.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 5bbfb739eaca -r f28404d422b5
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')