Commit Graph

24 Commits (d9b5710007bb7e2dbcf6d8e75f7e089e0509283d)

Author SHA1 Message Date
Houkime 5280aca544 test(tokens-repo): rework expiring recovery key tests 2023-01-13 13:43:04 +00:00
Houkime 6b6cc33b8e test(tokens-repo): move token utils to graphql common 2023-01-13 13:43:04 +00:00
Houkime 8d15955124 test(tokens-repo): use assert_empty consistently 2023-01-13 13:43:04 +00:00
Houkime 3e641b1107 test(tokens-repo): complete untying graphql device tests from json 2023-01-13 13:43:04 +00:00
Houkime a0bd3eb0ff test(tokens-repo): shrink invalid new device test 2023-01-13 13:43:04 +00:00
Houkime c7222fd8b9 test(tokens-repo): untie double new device auth from json 2023-01-13 13:43:04 +00:00
Houkime 93b02752df test(tokens-repo): untie authorize new device from json 2023-01-13 13:43:04 +00:00
Houkime ff6128b96e test(tokens-repo): untie get and delete new device from json 2023-01-13 13:43:04 +00:00
Houkime e9934a2567 test(tokens-repo): delete get new device key standalone test
we can only see if device key is valid by using it or deleting it.
another test does it
2023-01-13 13:43:04 +00:00
Houkime 74c36afc2d test(tokens-repo): untie refresh token testing from token repo 2023-01-13 13:43:04 +00:00
Houkime 37fd3574a1 test(tokens-repo): make sure we try to delete the token we authed with 2023-01-13 13:43:04 +00:00
Houkime e7f0d76001 test(tokens-repo): apply assert_ok and assert_error() 2023-01-13 13:43:04 +00:00
Houkime e5083c308a test(tokens-repo): break out assert_data() 2023-01-13 13:43:04 +00:00
Houkime c917c411fd test(tokens-repo): break out assert_empty() 2023-01-13 13:43:04 +00:00
Houkime 4582bfe6c4 test(tokens-repo): break out assert_ok() and assert_errorcode() in graphql 2023-01-13 13:43:04 +00:00
Houkime c597850fa5 test(tokens-repo): untie token deletion tests from json 2023-01-13 13:43:04 +00:00
Houkime 70c82cf142 test(tokens-repo): break out assert_original() in graphql device tests 2023-01-13 13:43:04 +00:00
Houkime 91bbc3520b test(tokens-repo): make shared test token state use token repo api for loading 2023-01-02 17:22:18 +00:00
Houkime 39277419ac refactor(tokens-repo): use tokens-repo to refresh tokens 2022-12-21 13:09:51 +00:00
Inex Code 7935de0fe1 Migrate to FastAPI (#13)
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: SelfPrivacy/selfprivacy-rest-api#13
2022-08-25 20:03:56 +03:00
def 9bd2896db8 fix recovery tests 2022-07-07 15:53:19 +02:00
Inex Code e5405dfc6b linting 2022-07-05 15:54:21 +03:00
Inex Code 5711cf66b0 Api fixes 2022-07-05 15:11:41 +03:00
Inex Code 503a39f390 API keys graphql tests 2022-06-29 20:39:46 +03:00