Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ test_python_input
Function
test_python_input
tests/test_testing.py:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
def
test_echo_stdin_prompts():
52
@click.command()
53
def
test_python_input():
54
foo = input(
"Foo: "
)
55
click.echo(f
"foo={foo}"
)
56
57
runner = CliRunner(echo_stdin=True)
58
result = runner.invoke(test_python_input, input=
"bar bar\n"
)
Callers
nothing calls this directly
Calls
1
input
Function · 0.85
Tested by
no test coverage detected