Browse Source

update test

pull/14400/head
Javier Sánchez 7 months ago
parent
commit
cf424613b3
  1. 2
      tests/test_tutorial/test_body/test_tutorial001.py

2
tests/test_tutorial/test_body/test_tutorial001.py

@ -200,7 +200,7 @@ def test_post_broken_body(client: TestClient):
headers={"content-type": "application/json"},
content="{some broken json}",
)
assert response.status_code == 422, response.text
assert response.status_code == 400, response.text
assert response.json() == IsDict(
{
"detail": [

Loading…
Cancel
Save