auth: Rework tests logic and add coverage to decode_token endpoint
This reworks the tests logic as well to reuse the way web tests are written. This is a first step to actually use the mock class defined here as fixture for future modules which will depend on swh-auth (swh-web-client, swh-web and swh-deposit). Related to T3079
parent
a750b587
No related branches found
No related tags found
Loading
-
Some references in the commit message have been migrated:
- T3079 is now swh/meta#3079 (closed)
Please register or sign in to comment