Home / Function/ test_cli_name() — flask Function Reference

test_cli_name() — flask Function Reference

Architecture documentation for the test_cli_name() function in test_cli.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  b57e4f7b_d6e2_cf7e_f5a8_7a3d507cc6c5["test_cli_name()"]
  62c63da0_a9c3_ab0a_4c48_a9413eac90e3["test_cli.py"]
  b57e4f7b_d6e2_cf7e_f5a8_7a3d507cc6c5 -->|defined in| 62c63da0_a9c3_ab0a_4c48_a9413eac90e3
  style b57e4f7b_d6e2_cf7e_f5a8_7a3d507cc6c5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_cli.py lines 41–45

def test_cli_name(test_apps):
    """Make sure the CLI object's name is the app's name and not the app itself"""
    from cliapp.app import testapp

    assert testapp.cli.name == testapp.name

Subdomains

Defined In

Frequently Asked Questions

What does test_cli_name() do?
test_cli_name() is a function in the flask codebase, defined in tests/test_cli.py.
Where is test_cli_name() defined?
test_cli_name() is defined in tests/test_cli.py at line 41.

Analyze Your Own Codebase

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

Try Supermodel Free