details:   https://code.tryton.org/tryton/commit/4c2bde83cf99
branch:    8.0
user:      Cédric Krier <[email protected]>
date:      Mon Jul 13 17:25:29 2026 +0200
description:
        Set an UPS account number to the custom agent in test scenario

        #14876
        (grafted from a7803b7036e7dad73a932d0483a03f51e734a95d)
diffstat:

 
modules/stock_package_shipping_ups/tests/scenario_stock_package_shipping_ups_international.rst
 |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 1111397508a4 -r 4c2bde83cf99 
modules/stock_package_shipping_ups/tests/scenario_stock_package_shipping_ups_international.rst
--- 
a/modules/stock_package_shipping_ups/tests/scenario_stock_package_shipping_ups_international.rst
    Wed Jun 03 16:01:25 2026 +0200
+++ 
b/modules/stock_package_shipping_ups/tests/scenario_stock_package_shipping_ups_international.rst
    Mon Jul 13 17:25:29 2026 +0200
@@ -72,6 +72,7 @@
     >>> agent_identifier.code = "CHE-123.456.788 IVA"
     >>> agent_party.save()
     >>> agent = Agent(party=agent_party)
+    >>> agent.ups_account_number = os.getenv('UPS_ACCOUNT_NUMBER')
     >>> agent.save()
     >>> AgentSelection(to_country=switzerland, agent=agent).save()
 

Reply via email to