Commit Graph

20 Commits

Author SHA1 Message Date
Maxime Alves LIRMM 4f4dac0ff2 [deps] Migration from starlette v0.18 to v0.23
Breaking : migrate your tests that use the TestDomain.client method
following the instructions here https://github.com/Kludex/bump-testclient

Squashed commit of the following:

commit 0417f27b3f
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 11:08:44 2023 +0100

    [deps] starlette 0.23

commit 552f00a65b
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:59:42 2023 +0100

    [deps] starlette 0.22

commit aefe448717
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:55:45 2023 +0100

    [tests][fix] compares the json interpreted value instead of the string

commit 01333a200c
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:55:20 2023 +0100

    [testing] changes from requests to httpx for Starlette TestClient (breaks)

commit f3784fab7f
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:54:10 2023 +0100

    [deps][breaking] starlette 0.21

commit 717d3f8bd6
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:26:31 2023 +0100

    [responses] use a wrapper function for exception handling (fix starlette 0.20)

commit d0876e45da
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:25:21 2023 +0100

    [deps][breaking] starlette 0.20

commit 6504191c53
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:12:51 2023 +0100

    [deps] starlette 0.19

commit 7b639a8dc2
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:11:14 2023 +0100

    [deps] starlette 0.18

commit 20bd9077a4
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Sat Jan 14 10:07:48 2023 +0100

    pipenv update
2023-01-14 11:10:13 +01:00
Maxime Alves LIRMM a0c41d7d78 [tests] jwt, use of TestClient instead of requests 2021-05-28 22:12:53 +02:00
Maxime Alves LIRMM a82fd6def0 [acl] ajout de l'acl private (test purposes) 2021-05-28 22:02:35 +02:00
Maxime Alves LIRMM 9a9bc16bbc [tests] déplacement des fixtures jwt dans conftest 2021-05-28 21:54:45 +02:00
Maxime Alves LIRMM ea1f54cb82 [tests] JWTmw - flags check et user_id 2021-05-28 12:41:23 +02:00
Maxime Alves LIRMM 3c6713b5e2 [tests] add JWTMw test for query without tokens (must return Unauth user) 2021-05-28 12:27:35 +02:00
Maxime Alves LIRMM c7e29e399b [tests] use "isinstance" instead of "type" 2021-05-28 12:26:51 +02:00
Maxime Alves LIRMM 89a5f3aa52 [tests] nettoyage test jwt 2021-05-28 12:26:27 +02:00
Maxime Alves LIRMM@home 10b1960f4e nettoyage / commentaires / renommage de variables - JWTUser.id deviens JWTUser.identity 2021-04-24 08:56:18 +02:00
Maxime Alves LIRMM 1ee5da1588 [tests][jwt] fixs tests according to abfaf2e1 2020-10-05 11:18:47 +02:00
Maxime Alves LIRMM 59ed5884ce [style] rename exceptions (e) as exc (pep8 style) 2020-10-05 10:55:55 +02:00
Maxime Alves LIRMM@home 246c9224e3 [tests] all tests updated to fit new fixture 2020-09-25 01:06:21 +02:00
Maxime Alves LIRMM@home 1b40b95d19 [auth] fix bug when "debug flag" = False in token 2020-08-27 18:09:48 +02:00
Maxime Alves LIRMM@home d944d45bbf [auth] added "debug flag" check and wrote relative tests close #12 2020-08-27 17:45:23 +02:00
Maxime Alves LIRMM 9eead5cd85 [debug] better handling of debug routes 2020-07-10 12:58:53 +02:00
Maxime Alves LIRMM 1087804e8a [conf] clean configuration options 2020-07-09 12:07:39 +02:00
Maxime Alves LIRMM 13ac878a7c [test] add default DEBUG flag for pytest, add tests for jwt_middleware 2020-07-09 10:29:17 +02:00
Maxime Alves LIRMM 15cd059705 [jwt] fix jwt middleware and add some tests 2020-07-08 17:28:14 +02:00
Joël Maïzi 0a755dc76f [WIP] Import halfapi OK dans test_jwt_middleware. 2020-07-03 21:39:59 +02:00
Joël Maïzi dd354648f8 [WIP] Pb import halfapi dans test_jwt_middleware. 2020-07-03 21:39:59 +02:00