From 4bc196044a88f3d6eb515f8030040bbb8387bdc3 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Sun, 1 Sep 2024 21:38:09 -0400 Subject: [PATCH] x --- tests/unit_tests/test_server_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/test_server_client.py b/tests/unit_tests/test_server_client.py index 92c7118e..f798d34f 100644 --- a/tests/unit_tests/test_server_client.py +++ b/tests/unit_tests/test_server_client.py @@ -3066,7 +3066,8 @@ async def test_token_feedback_endpoint() -> None: local_app, raise_app_exceptions=True ) as async_client: response = await async_client.post( - "/token_feedback", json={"token_or_url": "some_url", "score": 3} + "/token_feedback", + json={"token_or_url": "some_url", "score": 3}, ) assert response.status_code == 200 @@ -3077,4 +3078,5 @@ async def test_token_feedback_endpoint() -> None: "metadata": {"from_langserve": True}, "score": 3, "value": None, + "correction": None, }