flask/tests
pgjones 6979265fa6
Add async support
This allows for async functions to be passed to the Flask class
instance, for example as a view function,

    @app.route("/")
    async def index():
        return "Async hello"

this comes with a cost though of poorer performance than using the
sync equivalent.

asgiref is the standard way to run async code within a sync context,
and is used in Django making it a safe and sane choice for this.
2021-04-06 09:35:10 -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 Add async support 2021-04-06 09:35:10 -07:00
test_basic.py Add syntatic sugar for route registration 2021-03-08 08:55:14 -08:00
test_blueprints.py move send_file and send_from_directory to Werkzeug 2020-11-05 09:27:52 -08:00
test_cli.py Set default encoding to UTF-8 for load_dotenv 2021-03-10 21:40:29 +08:00
test_config.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_converters.py apply pyupgrade 2020-04-04 12:10:00 -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 update json.dumps for http_date changes 2021-02-25 09:45:55 -08: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 remove test relying on Werkzeug Local internals 2021-02-08 18:04:02 -08:00
test_reqctx.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_session_interface.py Ensure session_interface.open_session is called after URL matching (#3776) 2021-02-01 20:41:17 -08: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