Commit graph

11 commits

Author SHA1 Message Date
Daniel Neuhäuser
52098e1e4f Happy New Year 2014 2014-01-02 19:21:07 +01:00
Daniel Neuhäuser
f88cc2d2f9 Fix broken test_appcontext_signals test case
This fixes #781 and ensures that Flask is tested with blinker installed.
2013-06-27 16:49:27 +02:00
Armin Ronacher
0676bb8ab5 Added appcontext_pushed and appcontext_popped signals 2013-06-05 09:53:26 +01:00
Thomas Waldmann
ac04bc7836 replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue) 2013-05-26 20:33:22 +02:00
Daniel Neuhäuser
239780be28 Use assert_true instead of assert_
assert_ is deprecated which causes annoying warnings
2013-05-22 17:23:38 +02:00
Markus Unterwaditzer
05f66ad735 Fix some literals 2013-05-22 17:09:37 +02:00
Thomas Waldmann
e1d356fb71 ported some more stuff to py 3.3
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")

removed with_statement future imports, not needed any more

needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
Paulo Poiati
b2aae044ca Flash messages signals
If we send a signal when a template is rendered why not when a message
is flashed? One real world use case is in tests, this signal should make
flash messages expectation easier to implement.
2013-02-28 01:19:52 -03: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