Commit Graph

3 Commits

Author SHA1 Message Date
佐藤優一 67d3974ace Fix ToolNode Mock compatibility: Use real functions
- Create actual functions instead of pure Mock objects
- Functions have proper __name__ and __qualname__ attributes
- Wrapped in Mock for test assertions
- Fixes TypeError: Mock is not a module/class/method/function
2025-08-11 11:01:59 +09:00
佐藤優一 12370845eb Fix Black formatting issues in mock toolkit files 2025-08-11 10:47:55 +09:00
佐藤優一 0ab8c8fc46 Fix CI/CD test failures
- Apply Black formatting to all test files
- Fix Mock objects to include tool_calls attribute for len() checks
- Add proper __name__ attributes to mock toolkit methods for @tool decorator
- Create mock_toolkit_fix helper for consistent toolkit mocking

All tests should now pass with proper mocking setup.
2025-08-11 10:42:13 +09:00