Home / Function/ test_config_from_file_json() — flask Function Reference

test_config_from_file_json() — flask Function Reference

Architecture documentation for the test_config_from_file_json() function in test_config.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  b1b60844_d37e_6a23_e4fa_65b1732f0c74["test_config_from_file_json()"]
  af09ffc0_0dff_d9d9_7274_4611c3d0d0e6["test_config.py"]
  b1b60844_d37e_6a23_e4fa_65b1732f0c74 -->|defined in| af09ffc0_0dff_d9d9_7274_4611c3d0d0e6
  962769bb_e427_394b_6793_a30861454cc0["common_object_test()"]
  b1b60844_d37e_6a23_e4fa_65b1732f0c74 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  style b1b60844_d37e_6a23_e4fa_65b1732f0c74 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_config.py lines 31–35

def test_config_from_file_json():
    app = flask.Flask(__name__)
    current_dir = os.path.dirname(os.path.abspath(__file__))
    app.config.from_file(os.path.join(current_dir, "static", "config.json"), json.load)
    common_object_test(app)

Subdomains

Frequently Asked Questions

What does test_config_from_file_json() do?
test_config_from_file_json() is a function in the flask codebase, defined in tests/test_config.py.
Where is test_config_from_file_json() defined?
test_config_from_file_json() is defined in tests/test_config.py at line 31.
What does test_config_from_file_json() call?
test_config_from_file_json() calls 1 function(s): common_object_test.

Analyze Your Own Codebase

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

Try Supermodel Free