flask/tests
pgjones 5c6a0f0c12 Fix wrapped view function comparison
Wrapped functions are not comparable, see
https://bugs.python.org/issue3564, therefore a marker is used to note
when the function has been sync wrapped to allow comparison with the
wrapped function instead.

This ensures that multiple route decorators work without raising
exceptions i.e.,

    @app.route("/")
    @app.route("/a")
    async def index():
        ...

works.
2021-04-16 12:34:51 +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
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 Fix wrapped view function comparison 2021-04-16 12:34:51 +01:00
test_basic.py Add syntatic sugar for route registration 2021-03-08 08:55:14 -08:00
test_blueprints.py Nested blueprints 2021-04-14 09:25:42 -07: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