MCPcopy
hub / github.com/pallets/flask / test_config

Function test_config

examples/tutorial/tests/test_factory.py:4–7  ·  view source on GitHub ↗

Test create_app without passing test config.

()

Source from the content-addressed store, hash-verified

2
3
4def test_config():
5 """Test create_app without passing test config."""
6 assert not create_app().testing
7 assert create_app({"TESTING": True}).testing
8
9
10def test_hello(client):

Callers

nothing calls this directly

Calls 1

create_appFunction · 0.90

Tested by

no test coverage detected