Home / Function/ test_prepare_body_position_non_stream() — requests Function Reference

test_prepare_body_position_non_stream() — requests Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_requests.py lines 1968–1971

    def test_prepare_body_position_non_stream(self):
        data = b"the data"
        prep = requests.Request("GET", "http://example.com", data=data).prepare()
        assert prep._body_position is None

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free