Function
error_app
tests/test_formparsers.py:969–972
· tests/test_formparsers.py::error_app
(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(class="st">"starlette.formparsers.SpooledTemporaryFile", FailingSpooledTemporaryFile): |
| 972 | await request.form() |
| 973 | |
| 974 | client = test_client_factory(error_app) |
| 975 | boundary = class="st">"a7f7ac8d4e2e437c877bb7b8d7cc549c" |
Callers
nothing calls this directly
Tested by
no test coverage detected