MCPcopy 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
13def 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
19def test_config_from_pyfile():

Callers 8

test_config_from_pyfileFunction · 0.85
test_config_from_objectFunction · 0.85
test_config_from_mappingFunction · 0.85
test_config_from_classFunction · 0.85
test_config_from_envvarFunction · 0.85
test_custom_config_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected