flask/tests
garenchan c38499bbf2 ignore colon with slash when split app_import_path
Flask currently supports importing app through a combination of module
path and app variable name, such as '/usr/app.py:my_app'. When the
module path contains a colon, it will conflict with this import way and
a `flask.cli.NoAppException` will be raised.

A file path on a Windows system may contain a colon followed by a slash.
So we solved this problem on Windows by ignoring the colon followed by a
slash when we split app_import_path.

Fix issue #2961.
2018-10-24 23:47:41 +08:00
..
static clean up secret key docs 2017-06-28 07:58:06 -07:00
templates Enable autoescape for render_template_string 2015-07-04 23:41:43 +02:00
test_apps rewrite cli errors 2017-10-10 07:04:53 -07:00
conftest.py don't use Flask(__name__) in conftest 2018-02-28 06:50:49 -08:00
test_appctx.py don't use Flask(__name__) in conftest 2018-02-28 06:50:49 -08:00
test_basic.py trap key errors in debug, not all 400 errors 2018-04-28 06:51:08 -07:00
test_blueprints.py add more merge cases 2018-05-01 13:29:48 -07:00
test_cli.py ignore colon with slash when split app_import_path 2018-10-24 23:47:41 +08:00
test_config.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_helpers.py encode filenames as ascii instead of latin-1 2018-05-28 06:36:47 -07:00
test_instance_config.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_json_tag.py Fix default index for TaggedJSONSerializer.register() 2018-04-19 14:16:11 +01:00
test_logging.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_regression.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_reqctx.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_signals.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_subclassing.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_templating.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_testing.py Do not enable subdomain matching by default 2018-02-23 07:53:27 -08:00
test_user_error_handler.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
test_views.py revert copyright year to project start 2018-02-08 12:43:30 -08:00