- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Allain (0.13 sec)
-
tests/test_tutorial/test_body/test_tutorial001_py310.py
} @needs_py310 def test_wrong_headers(client: TestClient): data = '{"name": "Foo", "price": 50.5}' response = client.post( "/items/", content=data, headers={"Content-Type": "text/plain"} ) assert response.status_code == 422, response.text assert response.json() == IsDict( { "detail": [ { "type": "model_attributes_type",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 15K bytes - Viewed (2)