David Lord
e666f7a69c
standardize license and copyright
2019-06-22 13:09:09 -07:00
David Lord
310fbfcf64
revert copyright year to project start
...
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
66b1b752da
simplify logging configuration
...
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
2017-07-31 12:49:03 -07:00
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
2017-06-28 07:58:06 -07:00
David Lord
4d2a3ab2e0
test no debug flag doesn't reconfigure
...
test templates_auto_reload property instead of config
use app fixture in test
2017-06-14 12:31:56 -07:00
David Lord
9e39c506e0
Merge branch 'master' into reload_templates_run_debug
2017-06-14 09:58:33 -07:00
Christian Stade-Schuldt
4ec1fbc9f5
More DRYing up the test suite ( #2325 )
2017-05-24 17:27:36 -07:00
Christian Stade-Schuldt
5b0b9717da
DRYing up the test suite using pytest fixtures ( #2306 )
...
* add fixtures to conftest.py
* use fixtures in test_appctx.py
* use fixtures in test_blueprints.py
* use fixtures in test_depreciations.py
* use fixtures in test_regressions.py
* use fixtures in test_reqctx.py
* use fixtures in test_templating.py
* use fixtures in test_user_error_handler.py
* use fixtures in test_views.py
* use fixtures in test_basics.py
* use fixtures in test_helpers.py
* use fixtures in test_testing.py
* update conftest.py
* make docstrings PEP-257 compliant
* cleanup
* switch dictonary format
* use pytest parameterization for test_json_as_unicode
2017-05-23 15:18:39 -07:00
Dave Barker
1a67e284d0
Remove unnecessary werkzeug mock attribs from test
2016-06-15 02:25:48 +01:00
Dave Barker
24289e97af
Add test for new template auto reload debug behaviour
2016-06-15 02:15:33 +01:00
Alan Hamlett
99c99c4c16
Enable autoescape for `render_template_string`
2015-07-04 23:41:43 +02:00
Markus Unterwaditzer
d13a1b363e
Rename jinja_env_class
...
Inspired by #1056
2015-06-06 06:29:26 +02:00
ThiefMaster
08ac3aa4e3
Allow custom jinja environments
...
This is useful e.g. when using the new Jinja Environment
attributes added in mitsuhiko/jinja2#404
2015-04-06 15:03:00 +02:00
Parkayun
33534bb4a9
Happy New Year 2015
2015-01-02 11:35:00 +09:00
Markus Unterwaditzer
a1b273658d
Merge pull request #1222 from defuz/templates_auto_reload-eq-none
...
Set TEMPLATE_AUTO_RELOAD default value to None
2014-11-02 20:46:48 +01:00
Petr Zemek
ec3d5800f2
Put two spaces before inline comments when there is only one space.
...
PEP8 (E261) suggests to use at least two spaces before inline comments.
2014-10-27 11:24:15 +01:00
defuz
f88765d504
set TEMPLATE_AUTO_RELOAD default value to None
2014-10-26 18:28:12 +03:00
Markus Unterwaditzer
c6795eb626
Remove useless unittest imports
2014-09-21 16:47:38 +02:00
Markus Unterwaditzer
861aa0db1f
Init global test_apps explicitly
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
af4cb0ff2b
Remove flask superclass
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
d0cf5ef394
WIP
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
5da2c00419
Rewrite assertion methods
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
8fa5e32d9a
Tests pass now.
2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
961db8ad72
Made tests recognizable
2014-09-11 22:09:50 +02:00