Commit Graph

82 Commits

Author SHA1 Message Date
Maxime Alves LIRMM@home
54e215b6ff [test][nf] added basic test methods for orjsonresponse 2021-01-23 09:31:35 +01:00
Maxime Alves LIRMM
3959e6d614 [tests] add dummy_domain as a testing dependency (because domains can't
be "not installed" in sys.path)
2020-10-07 15:51:24 +02:00
Maxime Alves LIRMM
40547ddf30 [tests][OK] Using a dummy_domain, adding it and listing it's routes 2020-10-07 09:55:03 +02:00
Maxime Alves LIRMM
82e2ccbdbc [tests] fix tests according to abfaf2e1 2020-10-05 11:28:50 +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
c603727190 [test] adjust test_gen_router_routes to fit the new behaviour 2020-10-04 17:26:36 +02:00
Maxime Alves LIRMM
3530f53820 [routing] handle fqtn parameter in domain schema + get_api_routes (/) + /user -> /halfapi/current_user 2020-09-28 17:22:27 +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
70723ea580 [tests] add acl.py to dummy_domain 2020-09-25 01:05:27 +02:00
Maxime Alves LIRMM
c54101c3e6 [wip][routing] add routing functions in /lib/domains 2020-09-22 12:57:36 +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
ed54127c81 [cli] added the "config" command to the CLI, updated tests 2020-08-27 11:27:28 +02:00
Maxime Alves LIRMM@home
c4872ec0b3 [cli][tests] Changed the routes names and wrote the tests according to current configuration 2020-08-07 00:00:33 +02:00
Maxime Alves LIRMM@home
ad1304f8d4 [tests][cli] first tests for post-init phase 2020-08-06 23:39:04 +02:00
Maxime Alves LIRMM
914cb149e1 [tests][cli] fixed cli import 2020-08-05 14:28:55 +02:00
Maxime Alves LIRMM
6a65aaeaef [cli][tests] split cli __init__ module, added check for .halfapi/config 2020-08-05 14:01:39 +02:00
Maxime Alves LIRMM
7ff8d803ee [tests][cli] added tests for domain command 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
048d06de37 [tests] moved cli tests to one file with incremental tests (exits if one fails) 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
d47f735828 [tests][cli] init_project tests passes 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
50314e6656 [tests][cli] rewrite of cli/test_init_project.py 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
b34631cdd0 [cli][init-project][tests][wip] creation du projet halfapi 2020-08-05 09:24:02 +02:00
Maxime Alves LIRMM
74c2c4e056 [tests] updated tests for init-project 2020-08-05 09:24:02 +02:00
Maxime Alves LIRMM@home
3a81dfae96 [tests] dbupdate removal 2020-07-29 22:10:15 +02:00
Maxime Alves LIRMM@home
4d02cf4acd [cli] Added init-project command and cli tests 2020-07-29 22:07:16 +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