MCPcopy
hub / github.com/encode/uvicorn / test_app_unimportable_module

Function test_app_unimportable_module

tests/test_config.py:208–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206
207
208def test_app_unimportable_module() -> None:
209 config = Config(app="no.such:app")
210 with pytest.raises(ImportError):
211 config.load()
212
213
214def test_app_unimportable_other(caplog: pytest.LogCaptureFixture) -> None:

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
ConfigClass · 0.90

Tested by

no test coverage detected