- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_incorrect_multipart_installed_form_file (0.26 sec)
-
tests/test_multipart_installation.py
app = FastAPI() @app.post("/") async def root(username: str = Form(), password: str = Form()): return username # pragma: nocover def test_incorrect_multipart_installed_form_file(monkeypatch): monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False) with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 3.7K bytes - Viewed (0)