MCPcopy
hub / github.com/benoitc/gunicorn / test_app_config

Function test_app_config

tests/test_config.py:268–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266
267
268def test_app_config():
269 with AltArgs():
270 app = NoConfigApp()
271 for s in config.KNOWN_SETTINGS:
272 assert app.cfg.settings[s.name].validator(s.default) == app.cfg.settings[s.name].get()
273
274
275def test_load_config():

Callers

nothing calls this directly

Calls 3

AltArgsClass · 0.85
NoConfigAppClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected