MCPcopy
hub / github.com/pallets/flask / test_environbuilder_json_dumps

Function test_environbuilder_json_dumps

tests/test_testing.py:110–114  ·  view source on GitHub ↗

EnvironBuilder.json_dumps() takes settings from the app.

(app)

Source from the content-addressed store, hash-verified

108
109
110def test_environbuilder_json_dumps(app):
111 """EnvironBuilder.json_dumps() takes settings from the app."""
112 app.json.ensure_ascii = False
113 eb = EnvironBuilder(app, json="\u20ac")
114 assert eb.input_stream.read().decode("utf8") == '"\u20ac"'
115
116
117def test_blueprint_with_subdomain():

Callers

nothing calls this directly

Calls 1

EnvironBuilderClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…