Home / Function/ test_conflicting_post_params() — requests Function Reference

test_conflicting_post_params() — requests Function Reference

Architecture documentation for the test_conflicting_post_params() function in test_requests.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  e5ff71c3_cf81_0002_3a99_141d8c9a207d["test_conflicting_post_params()"]
  22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"]
  e5ff71c3_cf81_0002_3a99_141d8c9a207d -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14
  style e5ff71c3_cf81_0002_3a99_141d8c9a207d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 916–920

    def test_conflicting_post_params(self, httpbin):
        url = httpbin("post")
        with open("requirements-dev.txt") as f:
            with pytest.raises(ValueError):
                requests.post(url, data='[{"some": "data"}]', files={"some": f})

Domain

Subdomains

Frequently Asked Questions

What does test_conflicting_post_params() do?
test_conflicting_post_params() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_conflicting_post_params() defined?
test_conflicting_post_params() is defined in tests/test_requests.py at line 916.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free