Commit Graph

29 Commits

Author SHA1 Message Date
Benjamin Dauvergne 0b4de669fd tests: remove references to InMemoryCache (#85832)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-02 20:49:28 +01:00
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Benjamin Dauvergne 3d181b33ad tests: use migration fixture from authentic (#73760) 2023-03-03 12:31:32 +01:00
Benjamin Dauvergne 0d2d076cba rsa13: keep csv columns value on edit (#73068) 2023-01-06 13:14:38 +01:00
Valentin Deniaud 347944babf misc: remove usage of "six" module (#63682) 2022-04-20 17:01:01 +02:00
Thomas NOËL 05a3a55e75 tests: remove use of pytest-httpbin (#63302) 2022-03-31 12:05:18 +02:00
Lauréline Guérin 10af7de01c
misc: fix reimported pylint error (#62099) 2022-03-25 09:03:39 +01:00
Lauréline Guérin 59182339ab
misc: fix redundant-u-string-prefix pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin dbb8416537
misc: add __init__ file to tests dir (#62099) 2022-03-25 08:24:24 +01:00
Benjamin Dauvergne 71524acf9e api_particulier: cache svai responses (#44684)
Only for 200 and 4xx status codes.
2021-08-17 15:49:03 +02:00
Nicolas Roche 6193d0a8ca base_adresse: add reverse endpoint result into address cache model (#53989) 2021-06-07 10:18:11 +02:00
Nicolas Roche 06db6d8767 misc: apply isort (#52937) 2021-05-07 13:51:13 +02:00
Benjamin Dauvergne 8e9fcdeeb7 tests: fix warnings about deprecation of pytest.yield_fixture 2021-05-07 11:09:30 +02:00
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
Benjamin Dauvergne 982a207c65 tests: factorize user fixtures (#20851) 2020-12-14 16:21:19 +01:00
Valentin Deniaud a731cd2029 tests: run wcs tests only against python 3 (#40008) 2020-02-19 14:05:59 +01:00
Valentin Deniaud 5d4722f9cc base_adresse: add /addresses/ endpoint (#39387)
Compatible with wcs API.
2020-02-17 15:33:35 +01:00
Emmanuel Cazenave dc7bcfe99e conftest: pass binary data to BytesIO (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave f9b0a99e0e tests: use absolute imports (#38923)
And delete some __init__.py in tests directory.
2020-01-14 19:20:26 +01:00
Benjamin Dauvergne 676bf063e1 utils: raise APIError for wsdl schema loading errors (#35029) 2019-08-12 13:11:16 +02:00
Benjamin Dauvergne 95446af6ce tests: define a MEDIA_ROOT (#32516)
To prevent cluttering project root with tests files. Some connector's
test had to be changed:
* family connector tests had to be changed as it magically used a local
file path as a Django stored file path.
* mdel tests where completely bogus around storage
2019-04-23 11:40:28 +02:00
Benjamin Dauvergne 91c12958b5 tests: clear cache between tests (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 47d5994e8e utils: hide SSL warnings when verify is False (fixes #30221) 2019-02-12 15:06:25 +01:00
Frédéric Péters d1fbd69e09 general: add possibility to override trace emails recipients (#24591) 2018-12-05 15:23:33 +01:00
Benjamin Dauvergne 34f2a6321d add ATOS Genesys connector (fixes #26333)
It provides the following webservices:
- /codifications, to list Genesys referentials
- /codifications/<category>/, to list values in a specific Genesys
referential
- /link, to create a link between a NameID and an account in Genesys
extranet
- /unlink, to delete a link created using the previous WS,
- /dossiers, to get all datas associates to Genesys extranet accounts
for a given NameID
2018-09-27 15:11:58 +02:00
Emmanuel Cazenave 99a1b5f739 add cache to IWS connector (#24935)
Make endpoint_dummy_cache fixture django 1.11 compatible.
2018-07-03 10:32:56 +02:00
Emmanuel Cazenave 86a91e41e1 add cache for connector endpoint (#24640) 2018-07-02 15:46:59 +02:00
Josue Kouka 244ffb8f0d tests: provide http request object to mock base adresse response (#12750) 2016-07-26 16:21:28 +02:00
Benjamin Dauvergne c40f0a6d8b remove need for urlpatterns in base_adresse connector (fixes #12574)
Using the new pattern parameter of the endpoint decorator, also add dependency
on django-webtest for tests.
2016-07-15 14:06:28 +02:00