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

Function index

tests/test_json.py:138–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136def test_jsonify_datetime(app, client, value):
137 @app.route("/")
138 def index():
139 return flask.jsonify(value=value)
140
141 r = client.get()
142 assert r.json["value"] == http_date(value)

Callers

nothing calls this directly

Calls 1

dumpsMethod · 0.45

Tested by

no test coverage detected