Skip to content

Commit

Permalink
fix: revert string updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Dec 18, 2024
1 parent 4f6902a commit 1824379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_connection/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def handler(request: Request) -> bytes:
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("/", content="abc")
assert response.json() == {"body": "abc"}
Expand All @@ -260,7 +260,7 @@ async def handler(request: Request) -> bytes:
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("/", content="abc")
assert response.json() == {"body": "abc"}
Expand Down

0 comments on commit 1824379

Please sign in to comment.