test_uninstalled_package_paths() — flask Function Reference
Architecture documentation for the test_uninstalled_package_paths() function in test_instance_config.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD e0d924b1_e043_fee1_58ba_00d3b1437279["test_uninstalled_package_paths()"] 27c06adb_1aab_74d2_a3c7_31e63b6a6a6f["test_instance_config.py"] e0d924b1_e043_fee1_58ba_00d3b1437279 -->|defined in| 27c06adb_1aab_74d2_a3c7_31e63b6a6a6f style e0d924b1_e043_fee1_58ba_00d3b1437279 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_instance_config.py lines 30–43
def test_uninstalled_package_paths(modules_tmp_path, purge_module):
app = modules_tmp_path / "config_package_app"
app.mkdir()
(app / "__init__.py").write_text(
"import os\n"
"import flask\n"
"here = os.path.abspath(os.path.dirname(__file__))\n"
"app = flask.Flask(__name__)\n"
)
purge_module("config_package_app")
from config_package_app import app
assert app.instance_path == os.fspath(modules_tmp_path / "instance")
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_uninstalled_package_paths() do?
test_uninstalled_package_paths() is a function in the flask codebase, defined in tests/test_instance_config.py.
Where is test_uninstalled_package_paths() defined?
test_uninstalled_package_paths() is defined in tests/test_instance_config.py at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free