Skip to content

Commit

Permalink
Tests: add token_feedback endpoint to test that verifies enabled/disa…
Browse files Browse the repository at this point in the history
…bled config (#573)

Add test to verify that token_feedback endpoint gets registered
correctly
  • Loading branch information
eyurtsev authored Mar 29, 2024
1 parent daa312c commit 7240d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit_tests/test_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2129,6 +2129,7 @@ async def test_endpoint_configurations() -> None:
("GET", "/playground/index.html", {}),
("HEAD", "/feedback", {}),
("GET", "/feedback", {}),
("POST", "/token_feedback", {}),
# Check config hashes
("POST", "/c/1234/invoke", {"input": 1}),
("POST", "/c/1234/batch", {"inputs": [1, 2]}),
Expand Down

0 comments on commit 7240d31

Please sign in to comment.