Commit Graph

27 Commits

Author SHA1 Message Date
Nicolas Roche d4bb8059e0 toulouse-maelis: [tests] count soap requests (#88873)
gitea/passerelle/pipeline/head This commit looks good Details
2024-04-03 17:17:37 +02:00
Benjamin Dauvergne c8155b70c4 tests: improve ResponsesSoap (#72638)
* add support for overriden service binding address
* encode wsdl_content when it is not bytes() but str()
* keep deserialized SOAP requests bodies in mock.soap_requests for
  inspection
* allow nesting ResponsesSoap context manager by using the same
  RequestsMock context manager.
2022-12-21 15:19:45 +01:00
Nicolas Roche a6f4daafb9 toulouse-maelis: use responses in tests (#72205) 2022-12-12 15:21:04 +01:00
Benjamin Dauvergne d9e7c0cba8 toulouse_maelis: add tool to check SOAP requests (#72205) 2022-12-12 15:21:04 +01:00
Benjamin Dauvergne 01942fed06 toulouse_maelis: use responses to check SOAP messages (#72205) 2022-12-12 15:21:04 +01:00
Nicolas Roche bc90d63ad2 toulouse-maelis: speed-up tests (#70982) 2022-12-08 21:41:34 +01:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Valentin Deniaud 347944babf misc: remove usage of "six" module (#63682) 2022-04-20 17:01:01 +02:00
Lauréline Guérin 1e90f91e99
misc: fix no-name-in-module pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 35512c9c2f
misc: remove unused-variable pylint error (#62099) 2022-03-25 09:03:36 +01:00
Nicolas Roche 7fc18248dd plone-restapi: add a plone.restapi connector (#57258) 2021-10-18 17:11:08 +02:00
Nicolas Roche 74895168a8 opendatasoft: manage HTTP errors (#56882) 2021-09-15 14:47:55 +02:00
Thomas NOËL 636b595833 base_adresse: link data models to BaseAdresse instance (#55959) 2021-08-04 14:20:29 +02:00
Nicolas Roche 06db6d8767 misc: apply isort (#52937) 2021-05-07 13:51:13 +02:00
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
Lauréline Guérin eeeea14a5d
django22: import django.urls (#49188) 2021-01-04 14:05:14 +01:00
Valentin Deniaud 2017980938 ovh: support /jobs/ API endpoint (#44313) 2020-07-30 10:51:39 +02:00
Nicolas Roche 115b0bb78c sms: send SMS asynchronously (#21465) 2020-05-29 11:32:49 +02:00
Valentin Deniaud 136766cca1 misc: find logs corresponding to the same API call (#38157) 2020-03-31 16:54:11 +02:00
Emmanuel Cazenave ae09ae97b6 use json_loads() instead of json.loads() (#38781)
json.loads expects str in python >= 3, < 3.6.
2020-01-29 10:30:47 +01:00
Emmanuel Cazenave 4c915235a5 get urlparse from six (#38923) 2020-01-14 19:20:26 +01:00
Nicolas Roche 1dee5d1c31 sms: use self.requests to increase logging (#21464) 2019-10-25 14:14:53 +02:00
Benjamin Dauvergne 47529acd9a arpege_ecp: do not log requests errors (#35358)
Add proper conversion of all HTTP errors to APIError.
2019-08-12 13:03:18 +02:00
Thomas NOËL 8a3268bf9e ovh: use BaseResource.requests instead of requests (#23677) 2018-05-31 17:21:04 +02:00
Benjamin Dauvergne f24bb06e6e add connector for API-Particulier (#14838)
API Particulier is an API published by the french government for accessing
fiscal and social informations about citizens. It can be used to improve
efficiency of procedures in local administrations.
2018-02-20 13:52:01 +01:00
Benjamin Dauvergne 41a5bbaa03 sms: improve error handling of all providers with APIError (fixes #13499)
All specific exception classes have been removed, sending was fixed in orange,
oxyd and choosit providers; when possible failure for each destination is
returned.
2016-10-21 10:16:28 +02:00
Josue Kouka e22affeac6 tests: add some utility functions 2016-09-02 10:13:28 +02:00