Skip to content

Commit d409e2d

Browse files
committedApr 24, 2025
Ruff
1 parent dc638c2 commit d409e2d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎tests/unit/llm/test_vertexai_llm.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ def test_vertexai_get_llm_tools(test_tool: Tool) -> None:
197197
@patch("neo4j_graphrag.llm.vertexai_llm.VertexAILLM._parse_tool_response")
198198
@patch("neo4j_graphrag.llm.vertexai_llm.VertexAILLM._call_llm")
199199
def test_vertexai_invoke_with_tools(
200-
mock_call_llm: Mock, mock_parse_tool: Mock, test_tool: Tool,
200+
mock_call_llm: Mock,
201+
mock_parse_tool: Mock,
202+
test_tool: Tool,
201203
) -> None:
202204
# Mock the model call response
203205
tool_call_mock = MagicMock()
@@ -245,7 +247,9 @@ def test_vertexai_call_llm_with_tools(mock_model: Mock, test_tool: Tool) -> None
245247
@patch("neo4j_graphrag.llm.vertexai_llm.VertexAILLM._parse_tool_response")
246248
@patch("neo4j_graphrag.llm.vertexai_llm.VertexAILLM._call_llm")
247249
def test_vertexai_ainvoke_with_tools(
248-
mock_call_llm: Mock, mock_parse_tool: Mock, test_tool: Tool,
250+
mock_call_llm: Mock,
251+
mock_parse_tool: Mock,
252+
test_tool: Tool,
249253
) -> None:
250254
# Mock the model call response
251255
tool_call_mock = MagicMock()

0 commit comments

Comments
 (0)