Armin Ronacher
f034d8d345
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
Ron DuPlain
26da6a5365
Use default send_file max-age consistently.
...
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
2012-04-24 01:48:05 -04:00
Ron DuPlain
d94efc6db6
Expose send_file max-age as config value, #433 .
...
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
2012-03-13 16:34:16 -07:00
Ron DuPlain
820d099e82
Add tests for template filter methods/decorators.
2012-01-16 20:21:26 -05: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
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