MCPcopy Create free account
hub / github.com/pallets/quart / test_has_app_context

Function test_has_app_context

tests/test_ctx.py:114–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113
114async def test_has_app_context() -> None:
115 async with AppContext(Quart(__name__)):
116 assert has_app_context() is True
117 assert has_app_context() is False
118
119
120async def test_copy_current_app_context() -> None:

Callers

nothing calls this directly

Calls 3

AppContextClass · 0.90
QuartClass · 0.90
has_app_contextFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…