diff --git a/modules/product_kit/tests/scenario_product_kit_sale.rst b/modules/product_kit/tests/scenario_product_kit_sale.rst index b1056c9277..3111dd6d2a 100644 --- a/modules/product_kit/tests/scenario_product_kit_sale.rst +++ b/modules/product_kit/tests/scenario_product_kit_sale.rst @@ -272,7 +272,7 @@ Handle shipment exception:: ... [('product', '=', product1.id)])) >>> shipment_exception.execute('handle') - >>> _, _, shipment = sale.shipments + >>> shipment, = [s for s in sale.shipments if s.state == 'waiting'] >>> len(shipment.outgoing_moves) 1 >>> backorder.reload()