Fix unit test after updating error message
This commit is contained in:
1 parent
a8ce0a3084
commit
43022b1718
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user