whoogle-search/test
Angel Mario d6d7110e22
Add option to disable changing config from client (#295)
* Add option to disable changing of configuration

Introduces a test to ensure the correct response code is found when
attempting to update the config when disabled, and ensure default config
is unchanged when posting a new config dict.

Attempting to update the config using the API when disabled now returns
a 403 code + redirect.

Co-authored-by: Ben Busby <benbusby@protonmail.com>
2021-04-27 10:36:03 -04:00
..
__init__.py Added testing and ci build, refactored filter class, refactored project structure 2020-04-15 17:41:53 -06:00
conftest.py Fix incorrect config bool env var casting 2021-04-12 16:40:59 -04:00
test_autocomplete.py Feature: autocomplete/search suggestions (#72) 2020-05-24 14:03:11 -06:00
test_misc.py Switch to single Fernet key per session 2021-04-05 11:00:56 -04:00
test_results.py Switch to single Fernet key per session 2021-04-05 11:00:56 -04:00
test_routes.py Add option to disable changing config from client (#295) 2021-04-27 10:36:03 -04:00