()
| 23 | |
| 24 | |
| 25 | async def test_formparser_max_num_parts() -> None: |
| 26 | parser = FormDataParser(max_form_parts=1) |
| 27 | body = Body(None, None) |
| 28 | body.set_result(b"param1=data1¶m2=data2¶m3=data3") |
| 29 | |
| 30 | with pytest.raises(RequestEntityTooLarge): |
| 31 | await parser.parse(body, "application/x-url-encoded", None) |
nothing calls this directly
no test coverage detected
searching dependent graphs…