Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
208
def
test_app_unimportable_module() -> None:
209
config = Config(app=
"no.such:app"
)
210
with
pytest.raises(ImportError):
211
config.load()
212
213
214
def
test_app_unimportable_other(caplog: pytest.LogCaptureFixture) -> None:
Callers
nothing calls this directly
Calls
2
load
Method · 0.95
Config
Class · 0.90
Tested by
no test coverage detected