test_json_param_post_should_not_override_data_param() — requests Function Reference
Architecture documentation for the test_json_param_post_should_not_override_data_param() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 0611789a_103b_c2c1_89bd_56fb45421614["test_json_param_post_should_not_override_data_param()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 0611789a_103b_c2c1_89bd_56fb45421614 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style 0611789a_103b_c2c1_89bd_56fb45421614 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 2113–2121
def test_json_param_post_should_not_override_data_param(self, httpbin):
r = requests.Request(
method="POST",
url=httpbin("post"),
data={"stuff": "elixr"},
json={"music": "flute"},
)
prep = r.prepare()
assert "stuff=elixr" == prep.body
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_json_param_post_should_not_override_data_param() do?
test_json_param_post_should_not_override_data_param() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_json_param_post_should_not_override_data_param() defined?
test_json_param_post_should_not_override_data_param() is defined in tests/test_requests.py at line 2113.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free