changeset a6451087f1df in modules/stock_package_shipping_sendcloud:6.2
details:
https://hg.tryton.org/modules/stock_package_shipping_sendcloud?cmd=changeset&node=a6451087f1df
description:
Do not use international shipping in test scenario
issue11718
review423881003
(grafted from be45a89c656a29b713a8e2e0f40f3ac2f102c614)
diffstat:
tests/scenario_stock_package_shipping_sendcloud.rst | 24 ++++++++++----------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (40 lines):
diff -r 8e54bb5079f6 -r a6451087f1df
tests/scenario_stock_package_shipping_sendcloud.rst
--- a/tests/scenario_stock_package_shipping_sendcloud.rst Wed Feb 16
22:01:10 2022 +0100
+++ b/tests/scenario_stock_package_shipping_sendcloud.rst Sun Sep 25
20:27:25 2022 +0200
@@ -71,24 +71,24 @@
>>> belgium = Country(code='BE', name='Belgium')
>>> belgium.save()
- >>> britain = Country(code='GB', name='Great Britain')
- >>> subdivision = britain.subdivisions.new()
- >>> subdivision.name = "Liverpool"
- >>> subdivision.code = 'GB-LIV'
- >>> subdivision.type = 'metropolitan district'
- >>> britain.save()
+ >>> france = Country(code='FR', name='France')
+ >>> subdivision = france.subdivisions.new()
+ >>> subdivision.name = "Paris"
+ >>> subdivision.code = 'FR-75'
+ >>> subdivision.type = 'metropolitan department'
+ >>> france.save()
>>> customer = Party(name='Customer')
>>> customer.save()
>>> customer_address = customer.addresses.new()
- >>> customer_address.street = 'Anfield Road'
- >>> customer_address.postal_code = 'L40TH'
- >>> customer_address.city = 'Liverpool'
- >>> customer_address.country = britain
- >>> customer_address.subdivision = britain.subdivisions[0]
+ >>> customer_address.street = 'Champs élysées'
+ >>> customer_address.postal_code = '75008'
+ >>> customer_address.city = 'Paris'
+ >>> customer_address.country = france
+ >>> customer_address.subdivision = france.subdivisions[0]
>>> customer_address.save()
>>> customer_phone = customer.contact_mechanisms.new()
>>> customer_phone.type = 'phone'
- >>> customer_phone.value = '+44 151 260 6677'
+ >>> customer_phone.value = '+33 93 842 8862'
>>> customer_phone.save()
Set the warehouse address::