mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-20 00:53:45 -04:00
✅ Add tests for form and files
This commit is contained in:
1 parent
748dc375db
commit
f1808de18e
5 files changed
+174
-11
No files matched your search
@@ -87,16 +87,6 @@ def test_openapi_scheme():
|
||||
assert response.json() == openapi_schema
|
||||
|
||||
|
||||
item_id_not_int = {
|
||||
"detail": [
|
||||
{
|
||||
"loc": ["path", "item_id"],
|
||||
"msg": "value is not a valid integer",
|
||||
"type": "type_error.integer",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
password_required = {
|
||||
"detail": [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user