test_help_echo_exception() — flask Function Reference
Architecture documentation for the test_help_echo_exception() function in test_cli.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 95675dff_f144_120b_87ec_960934de7b65["test_help_echo_exception()"] 62c63da0_a9c3_ab0a_4c48_a9413eac90e3["test_cli.py"] 95675dff_f144_120b_87ec_960934de7b65 -->|defined in| 62c63da0_a9c3_ab0a_4c48_a9413eac90e3 870b03e5_c961_237d_d703_442267b4ac04["create_app()"] 95675dff_f144_120b_87ec_960934de7b65 -->|calls| 870b03e5_c961_237d_d703_442267b4ac04 cfcc1ba6_ce20_a6d4_f8cd_998cddafcbac["invoke()"] 95675dff_f144_120b_87ec_960934de7b65 -->|calls| cfcc1ba6_ce20_a6d4_f8cd_998cddafcbac style 95675dff_f144_120b_87ec_960934de7b65 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_cli.py lines 428–443
def test_help_echo_exception():
def create_app():
raise Exception("oh no")
cli = FlaskGroup(create_app=create_app)
try:
runner = CliRunner(mix_stderr=False)
except (DeprecationWarning, TypeError):
# Click >= 8.2
runner = CliRunner()
result = runner.invoke(cli, ["--help"])
assert result.exit_code == 0
assert "Exception: oh no" in result.stderr
assert "Usage:" in result.stdout
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_help_echo_exception() do?
test_help_echo_exception() is a function in the flask codebase, defined in tests/test_cli.py.
Where is test_help_echo_exception() defined?
test_help_echo_exception() is defined in tests/test_cli.py at line 428.
What does test_help_echo_exception() call?
test_help_echo_exception() calls 2 function(s): create_app, invoke.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free