424 Commits (master)

Author SHA1 Message Date
David Lord d63c2bc417
remove deprecated Flask.static_path 7 years ago
David Lord 448368e226
style cleanup 7 years ago
Miguel Grinberg 7c40aa9e50
Import app from wsgi.py or app.py if FLASK_APP is not defined 7 years ago
Eugene M. Kim 63ccdada1b Actually hand-spin and use a tzinfo subclass 7 years ago
Eugene M. Kim f803760275 Re-revert to not using pytz 7 years ago
Eugene M. Kim 34050630d6 Skip aware datetime tests if pytz is unavailable 7 years ago
Eugene M. Kim eb9618347c Use pytz again for tests 7 years ago
Eugene M. Kim 0e6cab3576 Rewrite test_jsonify_aware_datetimes without pytz 7 years ago
David Lord 4d2a3ab2e0
test no debug flag doesn't reconfigure 7 years ago
Eugene M. Kim d75d83defd Add UTs for #2372 7 years ago
David Lord 5c12acefbb
failing test 7 years ago
David Lord e97253e4c1
clean up JSON code and docs 7 years ago
David Lord 5978a0f55f
failing test for streaming session 7 years ago
David Lord fd8b95952c
add tests for flask.json.tag 7 years ago
David Lord 859d9a9d5c
show nice message when registering error handler for unknown code 7 years ago
David Lord 42905b8a55
set description for trap as well as debug 7 years ago
David Lord 045dccaefb
make debugging bad key errors easier 7 years ago
David Lord b8eba0a3fa
use existing response.vary property to set vary header 7 years ago
Hendrik Makait 48c2925664 Factor in code review comments and refactor functions to be more naturally split. 7 years ago
Hendrik Makait 7106fb6357 Handle app factory with arguments in FLASK_APP 7 years ago
Nina Zakharenko e7cd68ba58 Don't overwrite Vary header when setting for cookie access #2317 7 years ago
Christian Stade-Schuldt 4ec1fbc9f5 More DRYing up the test suite (#2325) 7 years ago
Rene A. Zelaya d29dbe14cf Correcting name of GreenletContextCopying test class (to start with 'Test'), making it extend object, and also having the test methods in it include 'self' as first argument. 7 years ago
Rene A. Zelaya 2eb28165a9 Bundling 'test_greenlet_context_copying' functions into a new class in tests/test_reqctx.py. 7 years ago
Randy Liou c03a82713a Cleanup test_blueprint.py to use test fixtures 7 years ago
Randy Liou 3fce4898f8 Add test for Blueprint app-wide url processing 7 years ago
Christian Stade-Schuldt 5b0b9717da DRYing up the test suite using pytest fixtures (#2306) 7 years ago
Hendrik Makait ae41df9a77 Check if app factory takes script_info argument and call it with(out) script_info as an argument depending on that 7 years ago
kaveh 75f537fb87 Adds provide_automatic_options to Class-based Views 7 years ago
cerickson 4f815015b8 Added support for generic HTTPException handlers on app and blueprints 7 years ago
cerickson 637eae5489 Added support for generic HTTPException handlers on app and blueprints 7 years ago
Florian Sachs 668061a5fc Register errorhandlers for Exceptions 7 years ago
bovarysme 5963cb5a51 Use the yield syntax in pytest's fixtures 7 years ago
MikeTheReader 7c882a457b Replace double quotes with single quotes 7 years ago
MikeTheReader cd412b20dc Parameterize test_get_debug_flag 7 years ago
MikeTheReader fd4a363657 Modifications based on review 7 years ago
Randy Liou d8d712a0de Add coverage for Blueprint teardown request method 7 years ago
Randy Liou a690ae27a3 Add coverage for Blueprint request process methods 7 years ago
MikeTheReader 6f49089a62 Added tests for make_response and get_debug_flag to improve coverage of helpers.py 7 years ago
Randy Liou 7ce01ab9b4 Add coverage for Blueprint.add_app_template_global 7 years ago
Randy Liou 136dbf7de0 Add coverage for Blueprints.(app_)context_processor 7 years ago
Hendrik Makait ced719ea18 Auto-detect create_app and make_app factory functions 7 years ago
Randy Liou 9fddecd4d9 Add coverage for Blueprint.app_errorhandler 7 years ago
David Lord 5d9dd0b379
set session accessed for setdefault 7 years ago
David Lord f7c35bf0d5 safe_join on Windows uses posixpath 7 years ago
David Lord 2a65794306
safe_join on Windows uses posixpath 7 years ago
David Lord f75ad9fca2
refactor session cookie domain logic 7 years ago
David Lord 7ad79583b9
add sort by match order 8 years ago
David Lord 697f7b9365
refactor make_response to be easier to follow 8 years ago
David Lord 46f83665ef
clean up blueprint json support 8 years ago