- Remove Mock wrapper to provide real functions
- Add __module__ and __doc__ attributes for @tool decorator
- Fixes TypeError: Mock is not a module/class/method/function
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- 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
- 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.