litellm/tests/test_litellm/proxy/client
mateo fe58bd57f7
test: deflake JWT tamper assertions and fuzzy picker widget driver
Tamper tests rewrote the last two base64url characters of the signature,
which on roughly 1 in 250 RS256 tokens (1 in 1000 HS256) only touched
padding bits, so the decoded signature was unchanged and still verified.
Corrupt the decoded signature bytes instead.

The fuzzy picker driver sent keys after fixed sleeps, so a slow worker
could receive the filter text before the widget had highlighted the match.
Wait on the widget's highlighted choice instead.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
(cherry picked from commit 25c5f0d993)
2026-10-05 19:00:43 -07:00
..
cli test: deflake JWT tamper assertions and fuzzy picker widget driver 2026-10-05 19:00:43 -07:00
conftest.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00
test_chat.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_client.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_credentials.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_http_client.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_http_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_keys.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_model_groups.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_models.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_teams.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00
test_users.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00