Commit graph

16 commits

Author SHA1 Message Date
Ron DuPlain
bb31188ec3 Add a BuildError hook to url_for, #456. 2012-04-22 12:30:15 -04:00
Armin Ronacher
cf1641e5be Changed the implementation of returning tuples from functions 2012-04-09 15:56:33 +01:00
James Saryerwinnie
075b6b11c8 Fix issue 140
This allows for a view function to return something like:

    jsonify(error="error msg"), 400
2012-03-11 20:45:58 -07:00
Ron DuPlain
2e5de98297 Use app.testing=True for asserts in messages test. 2012-01-17 19:33:48 -05:00
Ron DuPlain
676b3a4c13 Check status code in test client or fail silently. 2012-01-16 22:44:06 -05:00
Ron DuPlain
b9907b4969 Expand get_flashed_messages tests.
Ready to pull request #336.
http://github.com/mitsuhiko/flask/pull/336
2012-01-16 22:22:08 -05:00
Armin Ronacher
d628df6ab6 Store session after callbacks. This fixes #351 2011-11-20 16:54:40 +01:00
Armin Ronacher
c6316132b1 Context preserving is now part of Flask and not the test client. This fixes #326 2011-09-24 20:27:38 +02:00
Armin Ronacher
7331ae3df5 Update the testsuite to not freak out about a change in Werkzeug 0.8 that changed the behavior of misconfigured hosts. 2011-09-03 17:13:01 +02:00
Ron DuPlain
37f9cb9ca6 Import with statement in testsuite, Python 2.5. 2011-09-01 12:35:04 -04:00
Pedro Algarvio
a9e09ec50e Merge remote-tracking branch 'mitsuhiko/master' 2011-08-31 10:32:59 +01:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
367b254c78 Make sure that there is a test for subdomain matching with ports 2011-08-26 14:51:28 +01:00
Armin Ronacher
fc2caa4b9c Changed assert to self.assert_ where it was still in place 2011-08-26 11:43:27 +01:00
Armin Ronacher
3069e2d7f7 Fight the generic asserts! 2011-08-26 11:38:43 +01:00
Armin Ronacher
4cb6eea8f1 Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00