details:   https://code.tryton.org/tryton/commit/b5a5ea6025ef
branch:    8.0
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 48497f2b1b37 -r b5a5ea6025ef 
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('assign_force')
     >>> shipment.click('pick')
     >>> shipment.click('pack')

Reply via email to