Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Dec 10, 2024
1 parent 460c8d1 commit 8dea8b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/requests/test_base_http_lilya.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def app(scope: Any, receive: "Receive", send: "Send") -> None:
assert response.json() == {"body": ""}

response = client.post("/", json={"a": "123"})
assert response.json() == {"body": '{"a":"123"}'}
assert response.json() == {"body": '{"a": "123"}'}

response = client.post("/", data="abc")
assert response.json() == {"body": "abc"}
Expand All @@ -124,7 +124,7 @@ async def app(scope: Any, receive: "Receive", send: "Send") -> None:
assert response.json() == {"body": ""}

response = client.post("/", json={"a": "123"})
assert response.json() == {"body": '{"a":"123"}'}
assert response.json() == {"body": '{"a": "123"}'}

response = client.post("/", data="abc")
assert response.json() == {"body": "abc"}
Expand Down

0 comments on commit 8dea8b4

Please sign in to comment.