Home / Function/ test_app_aborter_class() — flask Function Reference

test_app_aborter_class() — flask Function Reference

Architecture documentation for the test_app_aborter_class() function in test_helpers.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  0d5f9d05_755b_45de_e738_c0e572a39fa1["test_app_aborter_class()"]
  d5d22f74_a243_4ea9_9dfe_aaec71d26288["test_helpers.py"]
  0d5f9d05_755b_45de_e738_c0e572a39fa1 -->|defined in| d5d22f74_a243_4ea9_9dfe_aaec71d26288
  style 0d5f9d05_755b_45de_e738_c0e572a39fa1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_helpers.py lines 196–204

def test_app_aborter_class():
    class MyAborter(werkzeug.exceptions.Aborter):
        pass

    class MyFlask(flask.Flask):
        aborter_class = MyAborter

    app = MyFlask(__name__)
    assert isinstance(app.aborter, MyAborter)

Subdomains

Frequently Asked Questions

What does test_app_aborter_class() do?
test_app_aborter_class() is a function in the flask codebase, defined in tests/test_helpers.py.
Where is test_app_aborter_class() defined?
test_app_aborter_class() is defined in tests/test_helpers.py at line 196.

Analyze Your Own Codebase

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

Try Supermodel Free