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-02-26 03:20:08 +03:00
2026-03-05 18:46:30 -08:00
2026-02-27 03:29:26 -05:00
2026-03-05 18:07:53 -08:00
2026-02-26 03:20:08 +03:00
2026-02-26 13:55:54 +03:00
2026-02-26 13:54:20 +03:00
2026-03-02 04:34:21 -08:00
2026-02-26 10:56:29 -08:00
2026-03-01 02:42:15 +03:00
2026-03-02 22:53:21 +03:00
2026-02-26 00:53:57 -08:00
2026-03-04 18:10:18 +03:00
2026-02-26 03:20:08 +03:00
2026-03-04 18:34:16 +03:00
2026-03-01 11:53:50 +03:00
2026-02-26 03:20:08 +03:00
2026-03-02 19:15:59 -08:00
2026-02-26 13:27:58 +03:00
2026-02-26 03:20:08 +03:00
2026-02-26 13:54:20 +03:00
2026-03-04 14:22:30 -08:00
2026-03-04 06:06:40 -08:00
2026-02-28 20:33:48 +03:00
2026-03-04 05:30:43 -08:00
2026-03-02 02:00:09 -08:00
2026-03-04 19:19:57 -08:00
2026-03-02 16:11:49 +01:00
2026-02-28 21:25:55 +03:00
2026-03-01 05:28:12 -08:00
2026-02-28 20:33:48 +03:00
2026-03-04 17:23:23 +03:00
2026-03-02 22:53:21 +03:00
2026-02-26 03:20:08 +03:00
2026-03-05 18:22:39 -08:00
2026-03-01 01:54:27 +03:00
2026-02-26 13:30:55 +03:00