Skip to content

Commit a2ffd06

Browse files
authored
test: Openrouter - make test_live_run_with_tools more robust (#2909)
1 parent ce6a0b8 commit a2ffd06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integrations/openrouter/tests/test_openrouter_chat_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def test_live_run_with_tools(self, tools):
333333
results = component.run(chat_messages)
334334
assert len(results["replies"]) == 1
335335
message = results["replies"][0]
336-
assert message.text == ""
336+
assert not message.text
337337

338338
assert message.tool_calls
339339
tool_call = message.tool_call

0 commit comments

Comments
 (0)