Home / Function/ test_unicode_method_name_with_request_object() — requests Function Reference

test_unicode_method_name_with_request_object() — requests Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ec1215a2_7b82_11d0_1677_1e1d2a525b5d["test_unicode_method_name_with_request_object()"]
  22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"]
  ec1215a2_7b82_11d0_1677_1e1d2a525b5d -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14
  772251a3_91b5_d6a8_857f_bb938ed045f7["send()"]
  ec1215a2_7b82_11d0_1677_1e1d2a525b5d -->|calls| 772251a3_91b5_d6a8_857f_bb938ed045f7
  style ec1215a2_7b82_11d0_1677_1e1d2a525b5d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 1124–1134

    def test_unicode_method_name_with_request_object(self, httpbin):
        s = requests.Session()
        with open(__file__, "rb") as f:
            files = {"file": f}
            req = requests.Request("POST", httpbin("post"), files=files)
            prep = s.prepare_request(req)
        assert isinstance(prep.method, builtin_str)
        assert prep.method == "POST"

        resp = s.send(prep)
        assert resp.status_code == 200

Domain

Subdomains

Calls

Frequently Asked Questions

What does test_unicode_method_name_with_request_object() do?
test_unicode_method_name_with_request_object() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_unicode_method_name_with_request_object() defined?
test_unicode_method_name_with_request_object() is defined in tests/test_requests.py at line 1124.
What does test_unicode_method_name_with_request_object() call?
test_unicode_method_name_with_request_object() calls 1 function(s): send.

Analyze Your Own Codebase

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

Try Supermodel Free