diff --git a/tests/test_litellm/llms/chatgpt/test_codex.py b/tests/test_litellm/llms/chatgpt/test_codex.py index 078c8d85ce3..a893ddbfb12 100644 --- a/tests/test_litellm/llms/chatgpt/test_codex.py +++ b/tests/test_litellm/llms/chatgpt/test_codex.py @@ -8,7 +8,7 @@ from litellm.llms.chatgpt.codex import build_sideband_request, parse_call_respon def test_signaling_rejects_invalid_upstream_call_id(location): response = httpx.Response(201, headers={"Location": location}, extensions={"chatgpt_realtime": {"model": "gpt-live-1-codex"}}) - with pytest.raises(ValueError): + with pytest.raises(ValueError, match="String should match pattern"): parse_call_response(response, "voice", "owner", 1000)