flask/flask/testsuite
Max Countryman b5069d07a2 adding _scheme parameter to url_for
In order to better facilitate generation of URLs that make use of an HTTPS URL
scheme this patch adds a parameter with this specific purpose in mind. To
achieve this we explicitly pass in a param, `_scheme='https'`, and then set the
`url_scheme` attribute of our `MapAdapter` instance appropriately.

Importantly, `_external=True` must be set in order for this to work properly.
As such, failure to do so results in a `ValueError` being raised.
2013-01-21 16:18:46 -08:00
..
static Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00
templates Add @template_test() decorator for creating custom jinja2 tests, like existing @template_filter() for filters. Fixes #332 2012-10-07 12:51:46 +02:00
test_apps Add .egg for zipimporter instance path test. 2012-01-16 09:05:42 -05:00
__init__.py Added a workaround for samefile. This fixes #600 2012-10-07 16:04:31 +02:00
appctx.py flask.g is now on the app context and not the request context 2012-12-21 11:45:42 +01:00
basic.py flask.g is now on the app context and not the request context 2012-12-21 11:45:42 +01:00
blueprints.py Add @template_test() decorator for creating custom jinja2 tests, like existing @template_filter() for filters. Fixes #332 2012-10-07 12:51:46 +02:00
config.py Cleaned up test case for issue #414. 2012-03-01 08:53:58 -05:00
deprecations.py Import with statement in testsuite, Python 2.5. 2011-09-01 12:35:04 -04:00
examples.py Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00
ext.py Refactored flask.ext process to not swallow exceptions on weird Pythons. 2011-09-27 13:33:23 +02:00
helpers.py adding _scheme parameter to url_for 2013-01-21 16:18:46 -08:00
regression.py Fixed last commit and added test 2013-01-21 17:55:07 +00:00
signals.py Changed assert to self.assert_ where it was still in place 2011-08-26 11:43:27 +01:00
subclassing.py various typo fixes 2012-09-06 18:04:51 +01:00
templating.py Added template tests and made config a true global 2012-10-08 07:01:49 +02:00
testing.py make_test_environ_builder when used with subdomains was not working correctly, now it uses urlparse module for detecting full URL and changing path and base_url correctly 2012-10-07 12:48:19 +02:00
views.py The builder on github is using python 2.5, the views.py testsuite uses the with 2012-10-16 16:57:57 -04:00