-
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1535 from rusanpas/master
- Loading branch information
Showing
3 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.6.37' | ||
__version__ = '1.6.39' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
|
||
def test_get_rates(): | ||
res = Shipping().get_rates( | ||
res = Shipping(amzn_shipping_business=AmznShippingBusiness.UK).get_rates( | ||
**{ | ||
"shipTo": { | ||
"name": "Arlene Purdy", | ||
|
@@ -25,7 +25,6 @@ def test_get_rates(): | |
"email": "[email protected]", | ||
"phoneNumber": "662-302-7817", | ||
}, | ||
"shipDate": "2024-09-11T14:15:22Z", | ||
"shipperInstruction": { | ||
"deliveryNotes": "TEST" | ||
}, | ||
|
@@ -184,7 +183,7 @@ def test_get_access_points(): | |
|
||
|
||
def test_one_click_shipment(): | ||
res = Shipping().one_click_shipment( | ||
res = Shipping(amzn_shipping_business=AmznShippingBusiness.UK).one_click_shipment( | ||
**{ | ||
"shipTo": { | ||
"name": "Arlene Purdy", | ||
|
@@ -204,7 +203,6 @@ def test_one_click_shipment(): | |
"email": "[email protected]", | ||
"phoneNumber": "662-302-7817", | ||
}, | ||
"shipDate": "2024-09-11T14:15:22Z", | ||
"shipperInstruction": { | ||
"deliveryNotes": "TEST" | ||
}, | ||
|
@@ -261,4 +259,4 @@ def test_one_click_shipment(): | |
assert res.errors is None | ||
assert res.payload.get('shipmentId') | ||
assert res.payload.get('packageDocumentDetails')[0]['trackingId'] | ||
assert len(res.payload.get('packageDocumentDetails')[0]['packageDocuments']) > 0 | ||
assert len(res.payload.get('packageDocumentDetails')[0]['packageDocuments']) > 0 |