Home / File/ test_factory.py — flask Source File

test_factory.py — flask Source File

Architecture documentation for test_factory.py, a python file in the flask codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  9e6df257_0439_f777_4e84_636edacf67f3["test_factory.py"]
  46343131_a7b2_1f08_c964_dac29fad8199["flaskr"]
  9e6df257_0439_f777_4e84_636edacf67f3 --> 46343131_a7b2_1f08_c964_dac29fad8199
  style 9e6df257_0439_f777_4e84_636edacf67f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from flaskr import create_app


def test_config():
    """Test create_app without passing test config."""
    assert not create_app().testing
    assert create_app({"TESTING": True}).testing


def test_hello(client):
    response = client.get("/hello")
    assert response.data == b"Hello, World!"

Subdomains

Dependencies

  • flaskr

Frequently Asked Questions

What does test_factory.py do?
test_factory.py is a source file in the flask codebase, written in python. It belongs to the ApplicationCore domain, ExtensionRegistry subdomain.
What functions are defined in test_factory.py?
test_factory.py defines 2 function(s): test_config, test_hello.
What does test_factory.py depend on?
test_factory.py imports 1 module(s): flaskr.
Where is test_factory.py in the architecture?
test_factory.py is located at examples/tutorial/tests/test_factory.py (domain: ApplicationCore, subdomain: ExtensionRegistry, directory: examples/tutorial/tests).

Analyze Your Own Codebase

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

Try Supermodel Free