app-MAIL-temp/tests/api
Adrià Casajús 25fde11a86
Refactor alias suffix (#1194)
* Extract suffix generation and validation to a module

* Updated tests

* Make custom alias use signed suffixes

* Added the signature check to the module

* Fix invalid route

* Move more suffix related stuff

* Fix tests

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-27 17:40:22 +02:00
..
__init__.py add /api/alias/options 2019-12-15 18:55:16 +02:00
test_alias.py Simplified method 2022-05-12 18:33:13 +02:00
test_alias_options.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_apple.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_auth.py return 422 if account not activated 2022-02-22 22:12:36 +01:00
test_auth_mfa.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_custom_domain.py return custom domain json in patch 2022-01-16 17:26:11 +01:00
test_import_export.py Fix tests to allow re-running them locally without colliding with previous runs 2022-05-20 14:39:07 +02:00
test_mailbox.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
test_new_custom_alias.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
test_new_random_alias.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
test_notification.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_phone.py GET /api/phone/reservations/:reservation_id 2022-01-04 16:22:41 +01:00
test_serializer.py fix test 2022-04-18 11:17:10 +02:00
test_setting.py fix test 2022-04-18 11:55:14 +02:00
test_sudo.py Allow to set sudo mode for api requests (#1108) 2022-06-23 14:26:36 +02:00
test_user.py Feature: Add delete account route for the api (#1132) 2022-07-02 16:45:58 +02:00
test_user_info.py Restrict the number of free alias for new free users (#1155) 2022-07-20 11:09:22 +02:00
utils.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00