MCPcopy
hub / github.com/encode/starlette / error_app

Function error_app

tests/test_formparsers.py:969–972  ·  view source on GitHub ↗
(scope: Scope, receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

967 super().close()
968
969 async def error_app(scope: Scope, receive: Receive, send: Send) -> None:
970 request = Request(scope, receive)
971 with mock.patch("starlette.formparsers.SpooledTemporaryFile", FailingSpooledTemporaryFile):
972 await request.form()
973
974 client = test_client_factory(error_app)
975 boundary = "a7f7ac8d4e2e437c877bb7b8d7cc549c"

Callers

nothing calls this directly

Calls 3

formMethod · 0.95
RequestClass · 0.90
patchMethod · 0.80

Tested by

no test coverage detected