test_jsonify_mimetype() — flask Function Reference
Architecture documentation for the test_jsonify_mimetype() function in test_basic.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD f8ce00fc_7da6_5b0b_fb93_ba8512b8f013["test_jsonify_mimetype()"] 85bc4fb5_d1d7_a135_020d_69e052c12c0f["test_basic.py"] f8ce00fc_7da6_5b0b_fb93_ba8512b8f013 -->|defined in| 85bc4fb5_d1d7_a135_020d_69e052c12c0f style f8ce00fc_7da6_5b0b_fb93_ba8512b8f013 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_basic.py lines 1317–1321
def test_jsonify_mimetype(app, req_ctx):
app.json.mimetype = "application/vnd.api+json"
msg = {"msg": {"submsg": "W00t"}}
rv = flask.make_response(flask.jsonify(msg), 200)
assert rv.mimetype == "application/vnd.api+json"
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_jsonify_mimetype() do?
test_jsonify_mimetype() is a function in the flask codebase, defined in tests/test_basic.py.
Where is test_jsonify_mimetype() defined?
test_jsonify_mimetype() is defined in tests/test_basic.py at line 1317.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free