flask/tests
jab 00d6e339ec Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560)
This enables host_matching to be set properly by the time the constructor adds
the static route, and enables the static route to be properly associated with
the required host.

Previously, you could only enable host_matching once your app was already
instantiated (e.g. app.url_map.host_matching = True), but at that point
the constructor would have already added the static route without host matching
and an associated host, leaving the static route in a broken state.

Fixes #1559.
2017-04-07 16:31:54 +02:00
..
static Move tests 2014-09-11 22:09:50 +02:00
templates Enable autoescape for render_template_string 2015-07-04 23:41:43 +02:00
test_apps prevent NoAppException when ImportError occurs within imported module 2016-12-30 22:45:53 +01:00
conftest.py Eliminate some resource warnings 2016-06-03 14:29:27 +02:00
test_appctx.py Improve application context popping 2016-05-26 21:46:56 +02:00
test_basic.py Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560) 2017-04-07 16:31:54 +02:00
test_blueprints.py Use pytest.raises() instead of try/catch with asser 0 2016-03-04 13:30:40 +02:00
test_cli.py Fix CLI test for ImportError -> NoAppException 2017-03-21 16:17:09 -04:00
test_config.py Fix config.from_pyfile on Python 3 (#2123) 2016-12-26 03:50:47 +01:00
test_deprecations.py Use recwarn everywhere 2016-06-03 13:59:47 +02:00
test_ext.py Added python3.6 support for tests 2017-01-10 11:20:53 -06:00
test_helpers.py Don't rely on X-Requested-With for pretty print json response (#2193) 2017-03-07 10:09:46 +09:00
test_instance_config.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
test_regression.py Always run gc before leak test 2016-05-22 10:34:48 +02:00
test_reqctx.py Use pytest.raises() instead of try/catch with asser 0 2016-03-04 13:30:40 +02:00
test_signals.py Ignore before_render_template return values 2015-06-17 15:42:39 +02:00
test_subclassing.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
test_templating.py Enable autoescape for render_template_string 2015-07-04 23:41:43 +02:00
test_testing.py Default environ (#2047) 2016-10-12 08:54:24 +02:00
test_user_error_handler.py Handle empty deque on errorhandler lookup. 2015-06-02 16:13:30 -04:00
test_views.py Happy New Year 2015 2015-01-02 11:35:00 +09:00