flask/tests
pgjones 08a283af5e
Allow loading of environment variables into the config
This new method will pick out any environment variables with a certain
prefix and place them into the config named without the prefix. This
makes it easy to use environment variables to configure the app as is
now more popular than when Flask started.

The prefix should ensure that the environment isn't polluted and the
config isn't polluted by environment variables.

I've followed the dynaconf convention of trying to parse the
environment variable and then falling back to the raw value if parsing
fails.
2022-03-25 11:54:03 -07:00
..
static clean up secret key docs 2017-06-28 07:58:06 -07:00
templates add pre-commit config for flake8 2019-06-01 09:13:46 -04:00
test_apps Set default encoding to UTF-8 for load_dotenv 2021-03-10 21:40:29 +08:00
conftest.py cleaner message when CLI can't load app 2020-07-30 18:36:55 -07:00
test_appctx.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_async.py drop Python 3.6 2021-11-11 16:11:43 -08:00
test_basic.py don't intercept 307/308 routing redirects 2022-03-23 08:25:22 -07:00
test_blueprints.py same blueprint cannot be registered with same name 2021-11-12 09:52:16 -08:00
test_cli.py remove deprecated script_info factory arg 2021-11-12 09:52:16 -08:00
test_config.py Allow loading of environment variables into the config 2022-03-25 11:54:03 -07:00
test_converters.py converters have access to session 2021-05-14 08:11:09 -07:00
test_helpers.py move send_file and send_from_directory to Werkzeug 2020-11-05 09:27:52 -08:00
test_instance_config.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_json.py jsonify encodes decimal to str 2021-08-05 18:36:13 -07:00
test_json_tag.py update json.dumps for http_date changes 2021-02-25 09:45:55 -08:00
test_logging.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_regression.py update tests for relative redirects 2022-03-25 11:48:26 -07:00
test_reqctx.py fix pytest 7 warnings 2022-02-08 12:26:25 -08:00
test_session_interface.py converters have access to session 2021-05-14 08:11:09 -07:00
test_signals.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_subclassing.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_templating.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_testing.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_user_error_handler.py add assert message for errorhandler exception type 2020-04-16 10:49:42 -07:00
test_views.py remove unused module docstrings 2020-04-04 12:28:08 -07:00