mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
test(vertex-ai): match current speech HTTP error response
This commit is contained in:
parent
dde62d74ba
commit
271f19822e
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ def test_audio_speech_http_error_preserves_detail(client, auth_as, patched_speec
|
|||
with auth_as():
|
||||
response = client.post(path, json=payload)
|
||||
assert response.status_code == 422
|
||||
assert response.json()["error"]["message"] == "Provider rejected the speech request."
|
||||
assert response.json()["detail"] == "Provider rejected the speech request."
|
||||
|
||||
|
||||
@pytest.mark.parametrize("path", ["/v1/audio/transcriptions", "/audio/transcriptions"])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue