Merge branch 'master' into module-support

Conflicts:
	flask.py
This commit is contained in:
Armin Ronacher 2010-05-02 19:12:00 +02:00
commit 36f659b82b
3 changed files with 6 additions and 1 deletions

View file

@ -227,6 +227,8 @@ class BasicFunctionalityTestCase(unittest.TestCase):
pass
with app.test_request_context():
assert flask.url_for('hello', name='test x') == '/hello/test%20x'
assert flask.url_for('hello', name='test x', _external=True) \
== 'http://localhost/hello/test%20x'
def test_custom_converters(self):
from werkzeug.routing import BaseConverter