Home / Function/ common_object_test() — flask Function Reference

common_object_test() — flask Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  962769bb_e427_394b_6793_a30861454cc0["common_object_test()"]
  af09ffc0_0dff_d9d9_7274_4611c3d0d0e6["test_config.py"]
  962769bb_e427_394b_6793_a30861454cc0 -->|defined in| af09ffc0_0dff_d9d9_7274_4611c3d0d0e6
  928de784_06c4_2943_f01b_eef46f9f1d6b["test_config_from_pyfile()"]
  928de784_06c4_2943_f01b_eef46f9f1d6b -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  0630a0f3_bf28_21a8_a5f8_7a6dfbb37674["test_config_from_object()"]
  0630a0f3_bf28_21a8_a5f8_7a6dfbb37674 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  b1b60844_d37e_6a23_e4fa_65b1732f0c74["test_config_from_file_json()"]
  b1b60844_d37e_6a23_e4fa_65b1732f0c74 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  a80a87ff_3e3d_d30b_dec6_303e38d5f221["test_config_from_file_toml()"]
  a80a87ff_3e3d_d30b_dec6_303e38d5f221 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  1fdcc3ec_05ed_3ec5_9de7_644890dcf26a["test_config_from_mapping()"]
  1fdcc3ec_05ed_3ec5_9de7_644890dcf26a -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  ff837e58_4dce_e197_dbda_5c1f7b845902["test_config_from_class()"]
  ff837e58_4dce_e197_dbda_5c1f7b845902 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  4801a421_dcd3_87c1_8ff5_b6b4d9f571f5["test_config_from_envvar()"]
  4801a421_dcd3_87c1_8ff5_b6b4d9f571f5 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  64e4b499_4bf0_c72e_4692_dd3fc2e9f638["test_custom_config_class()"]
  64e4b499_4bf0_c72e_4692_dd3fc2e9f638 -->|calls| 962769bb_e427_394b_6793_a30861454cc0
  style 962769bb_e427_394b_6793_a30861454cc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_config.py lines 13–16

def common_object_test(app):
    assert app.secret_key == "config"
    assert app.config["TEST_KEY"] == "foo"
    assert "TestConfig" not in app.config

Subdomains

Frequently Asked Questions

What does common_object_test() do?
common_object_test() is a function in the flask codebase, defined in tests/test_config.py.
Where is common_object_test() defined?
common_object_test() is defined in tests/test_config.py at line 13.
What calls common_object_test()?
common_object_test() is called by 8 function(s): test_config_from_class, test_config_from_envvar, test_config_from_file_json, test_config_from_file_toml, test_config_from_mapping, test_config_from_object, test_config_from_pyfile, test_custom_config_class.

Analyze Your Own Codebase

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

Try Supermodel Free