Home / Function/ test_dotted_names_from_app() — flask Function Reference

test_dotted_names_from_app() — flask Function Reference

Architecture documentation for the test_dotted_names_from_app() function in test_blueprints.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  a56f0401_c99a_4bde_88a8_aed410b282d6["test_dotted_names_from_app()"]
  4366a441_d387_52f9_ec8d_1c41c71c00a8["test_blueprints.py"]
  a56f0401_c99a_4bde_88a8_aed410b282d6 -->|defined in| 4366a441_d387_52f9_ec8d_1c41c71c00a8
  style a56f0401_c99a_4bde_88a8_aed410b282d6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_blueprints.py lines 264–278

def test_dotted_names_from_app(app, client):
    test = flask.Blueprint("test", __name__)

    @app.route("/")
    def app_index():
        return flask.url_for("test.index")

    @test.route("/test/")
    def index():
        return flask.url_for("app_index")

    app.register_blueprint(test)

    rv = client.get("/")
    assert rv.data == b"/test/"

Subdomains

Frequently Asked Questions

What does test_dotted_names_from_app() do?
test_dotted_names_from_app() is a function in the flask codebase, defined in tests/test_blueprints.py.
Where is test_dotted_names_from_app() defined?
test_dotted_names_from_app() is defined in tests/test_blueprints.py at line 264.

Analyze Your Own Codebase

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

Try Supermodel Free