test_invalid_files_input() — requests Function Reference
Architecture documentation for the test_invalid_files_input() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD d8de336f_8cc3_bd20_1663_307e2ecfa755["test_invalid_files_input()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] d8de336f_8cc3_bd20_1663_307e2ecfa755 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style d8de336f_8cc3_bd20_1663_307e2ecfa755 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 827–831
def test_invalid_files_input(self, httpbin):
url = httpbin("post")
post = requests.post(url, files={"random-file-1": None, "random-file-2": 1})
assert b'name="random-file-1"' not in post.request.body
assert b'name="random-file-2"' in post.request.body
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_invalid_files_input() do?
test_invalid_files_input() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_invalid_files_input() defined?
test_invalid_files_input() is defined in tests/test_requests.py at line 827.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free