diff --git a/tests/requests/test_base_http_lilya.py b/tests/requests/test_base_http_lilya.py index a4652391..84cf6bb8 100644 --- a/tests/requests/test_base_http_lilya.py +++ b/tests/requests/test_base_http_lilya.py @@ -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"} @@ -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"}