Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ common_object_test
Function
common_object_test
tests/test_config.py:13–16 ·
view source on GitHub ↗
(app)
Source
from the content-addressed store, hash-verified
11
12
13
def
common_object_test(app):
14
assert app.secret_key ==
"config"
15
assert app.config[
"TEST_KEY"
] ==
"foo"
16
assert
"TestConfig"
not in app.config
17
18
19
def
test_config_from_pyfile():
Callers
8
test_config_from_pyfile
Function · 0.85
test_config_from_object
Function · 0.85
test_config_from_file_json
Function · 0.85
test_config_from_file_toml
Function · 0.85
test_config_from_mapping
Function · 0.85
test_config_from_class
Function · 0.85
test_config_from_envvar
Function · 0.85
test_custom_config_class
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected