From 8dea8b48f0e0d29a740b830478201a7c5376b12f Mon Sep 17 00:00:00 2001 From: tarsil Date: Tue, 10 Dec 2024 14:13:18 +0100 Subject: [PATCH] Update tests --- tests/requests/test_base_http_lilya.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"}