fix: update EditTool name in tests to match implementation #22

Merged
code-server merged 1 commits from fix/edit-tool-name-tests into main 2026-03-05 14:02:29 +01:00
1 Commits
Author SHA1 Message Date
code-serverandClaude Sonnet 4.5 d4abb3d06f fix: update EditTool name in tests to match implementation
Build Nanobot OAuth / cleanup (pull_request) Has been skipped
Build Nanobot OAuth / build (pull_request) Successful in 6m11s
The EditTool20250728 uses the name "str_replace_based_edit_tool" but
tests were checking for the old name "str_replace_editor". This commit
updates all test expectations to use the correct tool name.

Changes:
-  Updated test_edit_tool.py to expect "str_replace_based_edit_tool"
-  Updated test_native_tools_registration.py for correct tool name
-  Updated test_registry_native_execution.py to execute with correct name
-  Removed computer tool assertion (intentionally disabled by default)

All 3 EditTool naming tests now pass.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-05 09:34:25 +00:00