diff --git a/tests/python/test_rag_tool_handler.py b/tests/python/test_rag_tool_handler.py index c3944b5792..a8d7cf2354 100644 --- a/tests/python/test_rag_tool_handler.py +++ b/tests/python/test_rag_tool_handler.py @@ -114,7 +114,10 @@ def test_format_hits_produces_fenced_chunks(): }, ] result = _format_hits_for_llm(hits) - assert '' in result + assert ( + '' + in result + ) assert 'chunk_index="12"' in result assert 'tokens="42"' in result assert "first body\n" in result