details: https://code.tryton.org/tryton/commit/5996cbb65d20
branch: default
user: Cédric Krier <[email protected]>
date: Thu Aug 13 23:44:29 2026 +0200
description:
Do not rely on shipments order from sale in test scenario
Closes #15009
diffstat:
modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst | 2
+-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 903b285731c3 -r 5996cbb65d20
modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
--- a/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
Fri Jul 31 12:39:47 2026 +0200
+++ b/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
Thu Aug 13 23:44:29 2026 +0200
@@ -265,7 +265,7 @@
Ship remaining::
>>> sale.reload()
- >>> _, _, shipment = sale.shipments
+ >>> shipment, = [s for s in sale.shipments if s.state == 'waiting']
>>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')