fix: Apply Black formatting to conftest.py
- Fix whitespace and formatting issues
- Ensures CI Code Quality checks pass
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9219fba1b4
commit
a6e7f383e8
|
|
@ -53,7 +53,7 @@ def mock_llm():
|
||||||
# Create a chain mock (what prompt | llm.bind_tools(tools) returns)
|
# Create a chain mock (what prompt | llm.bind_tools(tools) returns)
|
||||||
chain_mock = Mock()
|
chain_mock = Mock()
|
||||||
chain_mock.invoke = Mock(return_value=default_result)
|
chain_mock.invoke = Mock(return_value=default_result)
|
||||||
|
|
||||||
# Store the chain_mock on the mock_llm so tests can configure it
|
# Store the chain_mock on the mock_llm so tests can configure it
|
||||||
mock._chain_mock = chain_mock
|
mock._chain_mock = chain_mock
|
||||||
|
|
||||||
|
|
@ -64,7 +64,7 @@ def mock_llm():
|
||||||
bound_mock = Mock()
|
bound_mock = Mock()
|
||||||
bound_mock.__ror__ = lambda self, other: chain_mock
|
bound_mock.__ror__ = lambda self, other: chain_mock
|
||||||
return bound_mock
|
return bound_mock
|
||||||
|
|
||||||
mock.bind_tools = mock_bind_tools
|
mock.bind_tools = mock_bind_tools
|
||||||
|
|
||||||
# Keep direct invoke for backward compatibility
|
# Keep direct invoke for backward compatibility
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue