teknium1
5c867fd79f
test: strengthen assertions across 3 more test files (batch 2)
test_run_agent.py (2 weak → 0, +13 assertions):
- Session ID validated against actual YYYYMMDD_HHMMSS_hex format
- API failure verifies error message propagation
- Invalid JSON args verifies empty dict fallback + message structure
- Context compression verifies final_response + completed flag
- Invalid tool name retry verifies api_calls count
- Invalid response verifies completed/failed/error structure
test_model_tools.py (3 weak → 0):
- Unknown tool error includes tool name in message
- Exception returns dict with 'error' key + non-empty message
- get_all_tool_names verifies both web_search AND terminal present
test_approval.py (1 weak → 0, assert ratio 1.1 → 2.2):
- Dangerous commands verify description content (delete, shell, drop, etc.)
- Safe commands explicitly assert key AND desc are None
- Pre/post condition checks for state management
2026-03-05 18:46:30 -08:00
..
2026-03-05 18:22:39 -08:00
2026-03-05 18:39:37 -08:00
2026-02-28 14:28:04 +03:00
2026-03-05 18:39:37 -08:00
2026-02-26 00:53:57 -08:00
2026-03-04 19:35:01 -08:00
2026-02-28 14:28:04 +03:00
2026-03-05 18:46:30 -08:00
2025-10-01 23:29:25 +00:00
2026-03-02 04:34:21 -08:00
2026-03-04 14:42:41 -08:00
2026-03-01 19:59:24 -08:00
2026-03-02 17:18:15 +11:00
2026-03-05 18:39:37 -08:00
2026-02-25 18:20:38 -08:00
2026-03-05 01:41:50 -08:00
2026-02-25 19:27:54 -08:00
2026-03-01 19:59:24 -08:00
2026-02-28 21:47:51 -08:00
2026-03-05 18:39:37 -08:00
2026-03-01 03:12:37 -05:00
2026-03-05 18:46:30 -08:00
2026-03-01 20:03:03 -08:00
2026-02-28 21:47:51 -08:00
2026-03-05 18:46:30 -08:00
2026-03-03 00:28:26 +03:00
2026-02-26 13:54:20 +03:00
2026-02-26 13:27:58 +03:00
2026-02-28 21:28:28 +03:00