Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Sep 2, 2024
1 parent 4b5a78a commit 4bc1960
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit_tests/test_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -3077,4 +3078,5 @@ async def test_token_feedback_endpoint() -> None:
"metadata": {"from_langserve": True},
"score": 3,
"value": None,
"correction": None,
}

0 comments on commit 4bc1960

Please sign in to comment.