test_installed_module_paths() — flask Function Reference
Architecture documentation for the test_installed_module_paths() function in test_instance_config.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 97930537_622b_4b82_7810_eedaf2c9f50b["test_installed_module_paths()"] 1ce0deb1_a452_33d8_ea56_d9306c2ce5bb["test_instance_config.py"] 97930537_622b_4b82_7810_eedaf2c9f50b -->|defined in| 1ce0deb1_a452_33d8_ea56_d9306c2ce5bb style 97930537_622b_4b82_7810_eedaf2c9f50b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_instance_config.py lines 65–77
def test_installed_module_paths(
modules_tmp_path, modules_tmp_path_prefix, purge_module, site_packages
):
(site_packages / "site_app.py").write_text(
"import flask\napp = flask.Flask(__name__)\n"
)
purge_module("site_app")
from site_app import app
assert app.instance_path == os.fspath(
modules_tmp_path / "var" / "site_app-instance"
)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_installed_module_paths() do?
test_installed_module_paths() is a function in the flask codebase, defined in tests/test_instance_config.py.
Where is test_installed_module_paths() defined?
test_installed_module_paths() is defined in tests/test_instance_config.py at line 65.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free