details: https://code.tryton.org/tryton/commit/99ee6881aea2
branch: 7.8
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
(grafted from 5996cbb65d20057bd93e5ddfdf97cafe8e4c4529)
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 b72c7415bbab -r 99ee6881aea2
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
Thu Aug 06 10:52:54 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('pick')
>>> shipment.click('pack')
>>> shipment.click('do')