Fix unit test after updating error message

This commit is contained in:
Kunal Karmakar
2026-03-06 17:20:52 +00:00
parent a8ce0a3084
commit 43022b1718

View File

@@ -291,7 +291,7 @@ async def test_chat_connection_error():
result = await provider.chat(messages)
assert isinstance(result, LLMResponse)
assert "Error calling Azure OpenAI: Connection failed" in result.content
assert "Error calling Azure OpenAI: Exception('Connection failed')" in result.content
assert result.finish_reason == "error"