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

Function test_copy_current_request_context_error

tests/test_ctx.py:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160
161def test_copy_current_request_context_error() -> None:
162 with pytest.raises(RuntimeError):
163 copy_current_request_context(lambda: None)()
164
165
166async def test_works_without_copy_current_request_context() -> None:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…