details:   https://code.tryton.org/tryton/commit/92b5cd5db4e5
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Nov 21 22:09:44 2025 +0100
description:
        Use short phone format in test scenario

        As phonenumbers is not a dependency for the tests, we must use a short 
format
        to not exceed the 20 characters limit.
diffstat:

 
modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst
               |  4 ++--
 
modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst
 |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r f931c7546894 -r 92b5cd5db4e5 
modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst
--- 
a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst
      Fri Nov 21 15:34:30 2025 +0100
+++ 
b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst
      Fri Nov 21 22:09:44 2025 +0100
@@ -85,7 +85,7 @@
     >>> customer_address.save()
     >>> customer_phone = customer.contact_mechanisms.new()
     >>> customer_phone.type = 'phone'
-    >>> customer_phone.value = '+33 93 842 8862'
+    >>> customer_phone.value = '+33938428862'
     >>> customer_phone.save()
 
 Set the warehouse address::
@@ -100,7 +100,7 @@
     >>> company_address.save()
     >>> company_phone = company.party.contact_mechanisms.new()
     >>> company_phone.type = 'phone'
-    >>> company_phone.value = '+32 4 2522122'
+    >>> company_phone.value = '+3242522122'
     >>> company_phone.save()
     >>> warehouse.address = company_address
     >>> warehouse.save()
diff -r f931c7546894 -r 92b5cd5db4e5 
modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst
--- 
a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst
        Fri Nov 21 15:34:30 2025 +0100
+++ 
b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst
        Fri Nov 21 22:09:44 2025 +0100
@@ -72,7 +72,7 @@
     >>> customer_address.country = switzerland
     >>> customer_phone = customer.contact_mechanisms.new()
     >>> customer_phone.type = 'phone'
-    >>> customer_phone.value = "+(41) (041) 410-62-66"
+    >>> customer_phone.value = "+41414106266"
     >>> customer.save()
 
     >>> agent_party = Party(name="Agent")
@@ -101,7 +101,7 @@
     >>> company_address.save()
     >>> company_phone = company.party.contact_mechanisms.new()
     >>> company_phone.type = 'phone'
-    >>> company_phone.value = '+32 4 2522122'
+    >>> company_phone.value = '+3242522122'
     >>> company_phone.save()
     >>> warehouse.address = company_address
     >>> warehouse.save()

Reply via email to