flask/tests
pgjones e3bac56415 Improve the decorator typing
This will allow type checkers to understand that the decorators return
the same function signature as passed as an argument. This follows the
guidelines from
https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators.

I've chosen to keep a TypeVar per module and usage as I think
encouraged by PEP 695, which I hope is accepted as the syntax is much
nicer.
2022-07-06 21:12:59 +01: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
typing Improve the decorator typing 2022-07-06 21:12:59 +01:00
conftest.py prefer --app over FLASK_APP in docs 2022-06-17 09:26:26 -07:00
test_appctx.py clean up pytest.raises tests 2022-04-28 09:32:31 -07:00
test_async.py deprecate before_first_request 2022-06-06 10:04:05 -07:00
test_basic.py Support returning list as JSON 2022-07-02 21:41:32 -07:00
test_blueprints.py deprecate before_first_request 2022-06-06 10:04:05 -07:00
test_cli.py Merge branch '2.1.x' 2022-07-02 21:03:09 -07:00
test_config.py Add test config.from_mapping method: ignoring items with non-upper keys 2022-05-31 17:51:39 +02:00
test_converters.py converters have access to session 2021-05-14 08:11:09 -07:00
test_helpers.py finish moving url_for to app 2022-05-14 12:46:01 -07:00
test_instance_config.py remove outdated instance path test 2022-06-06 09:17:53 -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 new debug/test preserve context implementation 2022-07-01 12:01:44 -07:00
test_subclassing.py remove unused module docstrings 2020-04-04 12:28:08 -07:00
test_templating.py add generate_template and generate_template_string functions 2022-06-18 12:20:53 -07:00
test_testing.py new debug/test preserve context implementation 2022-07-01 12:01:44 -07:00
test_user_error_handler.py refactor error checks in register_error_handler 2022-05-03 11:52:11 -06:00
test_views.py add View.init_every_request attribute 2022-06-06 15:11:01 -07:00