From ed4b02ba77bc29bf40a70179b58b10b63c8a6738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 13 Aug 2026 23:44:29 +0200 Subject: [PATCH] Do not rely on shipments order from sale in test scenario Closes #15009 (grafted from 5996cbb65d20057bd93e5ddfdf97cafe8e4c4529) --HG-- branch : 8.0 --- .../tests/scenario_web_shop_shopify_product_kit.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst b/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst index 8a4e3803d5..2270be9b26 100644 --- a/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst +++ b/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst @@ -265,7 +265,7 @@ Make a partial shipment for a single component:: 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')