Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/httpie/cli
/ StdinBytesIO
Class
StdinBytesIO
tests/utils/__init__.py:124–126 ·
view source on GitHub ↗
To be used for `MockEnvironment.stdin`
Source
from the content-addressed store, hash-verified
122
123
124
class
StdinBytesIO(BytesIO):
125
""
"To be used for `MockEnvironment.stdin`"
""
126
len = 0
# See `prepare_request_body()`
127
128
129
class
MockEnvironment(Environment):
Callers
10
test_ignore_stdin
Method · 0.85
test_chunked_stdin
Function · 0.85
test_chunked_stdin_multiple_chunks
Function · 0.85
test_POST_stdin
Function · 0.85
test_form_POST_file_redirected_stdin
Function · 0.85
test_compress_stdin
Function · 0.85
test_pretty_redirected_stream
Function · 0.85
test_pretty_stream_ensure_full_stream_is_retrieved
Function · 0.85
test_encoded_stream
Function · 0.85
test_redirected_stream
Function · 0.85
Calls
no outgoing calls
Tested by
10
test_ignore_stdin
Method · 0.68
test_chunked_stdin
Function · 0.68
test_chunked_stdin_multiple_chunks
Function · 0.68
test_POST_stdin
Function · 0.68
test_form_POST_file_redirected_stdin
Function · 0.68
test_compress_stdin
Function · 0.68
test_pretty_redirected_stream
Function · 0.68
test_pretty_stream_ensure_full_stream_is_retrieved
Function · 0.68
test_encoded_stream
Function · 0.68
test_redirected_stream
Function · 0.68