flask/tests
pgjones 7bf8366970
Allow dictionary return values as JSON
This supports an increasingly common usecase whereby JSON is the
primary response (rather than a templated string). Given Flask has a
short syntax for HTML reponses, it seems fitting that it should also
do so for JSON responses. In practice it allows,

     @app.route("/")
     def index():
         return {
             "api_stuff": "values",
         }
2019-05-24 09:48:55 -07:00
..
static clean up secret key docs 2017-06-28 07:58:06 -07:00
templates Enable autoescape for render_template_string 2015-07-04 23:41:43 +02:00
test_apps Reformat with black 2019-05-06 16:28:58 -04:00
conftest.py Reformat with black 2019-05-06 16:28:58 -04:00
test_appctx.py Reformat with black 2019-05-06 16:28:58 -04:00
test_basic.py Allow dictionary return values as JSON 2019-05-24 09:48:55 -07:00
test_blueprints.py Reformat with black 2019-05-06 16:28:58 -04:00
test_cli.py Fix #2937: Ensure the consistency in load_dotenv's return type 2019-05-19 11:58:39 -07:00
test_config.py Reformat with black 2019-05-06 16:28:58 -04:00
test_helpers.py Use Werkzeug's JSONMixin class and update tests 2019-05-18 20:57:26 -07:00
test_instance_config.py Reformat with black 2019-05-06 16:28:58 -04:00
test_json_tag.py Reformat with black 2019-05-06 16:28:58 -04:00
test_logging.py Reformat with black 2019-05-06 16:28:58 -04:00
test_regression.py Reformat with black 2019-05-06 16:28:58 -04:00
test_reqctx.py Reformat with black 2019-05-06 16:28:58 -04:00
test_signals.py Reformat with black 2019-05-06 16:28:58 -04:00
test_subclassing.py Reformat with black 2019-05-06 16:28:58 -04:00
test_templating.py Reformat with black 2019-05-06 16:28:58 -04:00
test_testing.py Merge branch '1.0.x' 2019-05-17 11:13:08 -07:00
test_user_error_handler.py Reformat with black 2019-05-06 16:28:58 -04:00
test_views.py Inherit "methods" in MethodView 2019-05-17 13:57:06 -07:00