Skip to content

Commit

Permalink
Remove test on legacy glsbox webservice
Browse files Browse the repository at this point in the history
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
florian-dacosta committed Jul 19, 2023
1 parent 82bb025 commit 4d11d2d
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions roulier/carriers/gls_fr/glsbox/tests/test_roulier_gls_fr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
# }
# ],
# },
# )

0 comments on commit 4d11d2d

Please sign in to comment.