Alexander Whitestone
|
5251dda8e7
|
test: add unit tests for tools/system_tools.py
Tests / lint (pull_request) Failing after 31s
Tests / test (pull_request) Has been skipped
Creates tests/timmy/test_system_tools.py with 67 tests covering:
- _safe_eval: constants, arithmetic ops, math functions, injection
prevention, unsupported syntax
- calculator: basic operations, error handling, injection prevention
- consult_grok: unavailable path, free mode, spark logging failures,
paid mode lightning failures
- web_fetch: URL validation, missing packages, truncation, HTTP errors,
timeout, request exceptions
- AiderTool: success/failure/timeout/os-error paths, model/flag/cwd
args validation
- toolkit factories: ImportError paths and happy paths for code/security/devops
Fixes #1345
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-23 22:55:37 -04:00 |
|