[claude] Add unit tests for research_tools.py (#1237) #1239
Reference in New Issue
Block a user
Delete Branch "claude/issue-1237"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1237
Adds
tests/unit/test_research_tools.pycovering both functions insrc/timmy/research_tools.py(previously at 0% coverage):google_web_search: no-key fallback returns"", warning log emitted, correct params passed toGoogleSearch, result is always a stringget_llm_client: client is non-None, has callablecompletion, response has.textattribute that is a string and echoes the promptserpapiis stubbed at module level since it is not a project dependency. All 411 unit tests pass.