From 4d11d2d647f02c9d81848c7807ad681fe6c59a02 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Wed, 19 Jul 2023 16:59:23 +0200 Subject: [PATCH] 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 --- .../glsbox/tests/test_roulier_gls_fr.py | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/roulier/carriers/gls_fr/glsbox/tests/test_roulier_gls_fr.py b/roulier/carriers/gls_fr/glsbox/tests/test_roulier_gls_fr.py index 7909f90..332e53d 100644 --- a/roulier/carriers/gls_fr/glsbox/tests/test_roulier_gls_fr.py +++ b/roulier/carriers/gls_fr/glsbox/tests/test_roulier_gls_fr.py @@ -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": "contact@mycompany.fr", - }, - "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": "contact@mycustomer.fr", - "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": "contact@mycompany.fr", +# }, +# "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": "contact@mycustomer.fr", +# "country": "FR", +# }, +# "parcels": [ +# { +# "weight": 3.4, +# "parcel_number_label": 1, +# "parcel_number_barcode": 1, +# "custom_sequence": "1234567899", +# } +# ], +# }, +# )