-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove test on legacy glsbox webservice
It causes issues in CI and as it is legacy, it should not be used anymore, a new gls webservice is available and the switch is easy
- Loading branch information
1 parent
82bb025
commit 4d11d2d
Showing
1 changed file
with
43 additions
and
43 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 |
---|---|---|
|
@@ -17,46 +17,46 @@ | |
) | ||
|
||
|
||
def test_connexion(): | ||
roulier.get( | ||
"gls_fr_glsbox", | ||
"get_label", | ||
{ | ||
"auth": {"login": credentials["login"], "isTest": credentials["isTest"]}, | ||
"service": { | ||
"agencyId": credentials["agencyId"], | ||
"customerId": credentials["customerId"], | ||
"shippingDate": date.today(), | ||
"shippingId": "125874", | ||
"intructions": "Sent from automatic test", | ||
"parcel_total_number": 1, | ||
}, | ||
"from_address": { | ||
"company": "my company", | ||
"name": "my name", | ||
"street1": "blablabla street", | ||
"zip": "69000", | ||
"city": "Lyon", | ||
"phone": "04 99 99 99 99", | ||
"email": "[email protected]", | ||
}, | ||
"to_address": { | ||
"company": "my customer", | ||
"name": "Martine MARTIN", | ||
"street1": "13 avenue des champs Elysées", | ||
"zip": "75001", | ||
"city": "Paris", | ||
"phone": "01 99 99 99 99", | ||
"email": "[email protected]", | ||
"country": "FR", | ||
}, | ||
"parcels": [ | ||
{ | ||
"weight": 3.4, | ||
"parcel_number_label": 1, | ||
"parcel_number_barcode": 1, | ||
"custom_sequence": "1234567899", | ||
} | ||
], | ||
}, | ||
) | ||
# def test_connexion(): | ||
# roulier.get( | ||
# "gls_fr_glsbox", | ||
# "get_label", | ||
# { | ||
# "auth": {"login": credentials["login"], "isTest": credentials["isTest"]}, | ||
# "service": { | ||
# "agencyId": credentials["agencyId"], | ||
# "customerId": credentials["customerId"], | ||
# "shippingDate": date.today(), | ||
# "shippingId": "125874", | ||
# "intructions": "Sent from automatic test", | ||
# "parcel_total_number": 1, | ||
# }, | ||
# "from_address": { | ||
# "company": "my company", | ||
# "name": "my name", | ||
# "street1": "blablabla street", | ||
# "zip": "69000", | ||
# "city": "Lyon", | ||
# "phone": "04 99 99 99 99", | ||
# "email": "[email protected]", | ||
# }, | ||
# "to_address": { | ||
# "company": "my customer", | ||
# "name": "Martine MARTIN", | ||
# "street1": "13 avenue des champs Elysées", | ||
# "zip": "75001", | ||
# "city": "Paris", | ||
# "phone": "01 99 99 99 99", | ||
# "email": "[email protected]", | ||
# "country": "FR", | ||
# }, | ||
# "parcels": [ | ||
# { | ||
# "weight": 3.4, | ||
# "parcel_number_label": 1, | ||
# "parcel_number_barcode": 1, | ||
# "custom_sequence": "1234567899", | ||
# } | ||
# ], | ||
# }, | ||
# ) |