free-claude-code/tests
Cursor Agent fdcb711399 fix: use RuntimeError in test_generic_exception_with_status_code to exercise getattr fallback
APIError is a ProviderError subclass, so it was caught by 'except ProviderError: raise'
and handled by provider_error_handler, bypassing the generic exception path that uses
getattr(e, 'status_code', 500). The test now uses RuntimeError with a dynamically-added
status_code attribute to actually test that fallback logic in routes.py.

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
2026-02-15 04:23:21 +00:00
..
conftest.py Implemented /clear command 2026-02-13 16:24:52 -08:00
test_api.py fix: use RuntimeError in test_generic_exception_with_status_code to exercise getattr fallback 2026-02-15 04:23:21 +00:00
test_app_lifespan_and_errors.py lint 2026-02-13 17:24:18 -08:00
test_cli.py Revamped telegram result display 2026-02-14 02:14:36 -08:00
test_cli_manager_edge_cases.py lint 2026-02-13 17:24:18 -08:00
test_config.py Fix all ty check errors without using type: ignore 2026-02-15 02:28:33 +00:00
test_converter.py Apply ruff format 2026-02-15 02:29:03 +00:00
test_dependencies.py Fix all ty check errors without using type: ignore 2026-02-15 02:28:33 +00:00
test_error_mapping.py lint 2026-02-08 15:54:03 -08:00
test_event_parser.py Improved test coverage 2026-02-14 19:17:19 -08:00
test_extract_text.py Remove _extract_text_from_content wrapper from logging_utils 2026-02-15 01:32:04 +00:00
test_handler.py lint 2026-02-13 17:24:18 -08:00
test_handler_context_isolation.py lint 2026-02-13 17:24:18 -08:00
test_handler_format.py Phase 2: Extract markdown utilities to messaging/telegram_markdown.py 2026-02-15 01:34:27 +00:00
test_handler_integration.py introduced per reply /stop command to stop just that task and fixed context leakage in reply session forking 2026-02-13 14:53:48 -08:00
test_handler_markdown_and_status_edges.py lint 2026-02-14 19:17:51 -08:00
test_limiter.py lint 2026-02-14 19:17:51 -08:00
test_logging_config.py Revamped logging 2026-02-14 18:55:33 -08:00
test_logging_utils_edge_cases.py improve test coverage 2026-02-13 12:54:48 -08:00
test_messaging.py Refactor done by z-ai/glm5 2026-02-14 18:47:26 -08:00
test_messaging_factory.py Major Refactor Part 2 with kimi-k2.5 in claude code 2026-02-05 16:09:16 -08:00
test_model_utils.py lint 2026-02-08 15:54:03 -08:00
test_models_validators.py Major Refactor Part 2 with kimi-k2.5 in claude code 2026-02-05 16:09:16 -08:00
test_nvidia_nim.py Updated token counting and removed non streaming support 2026-02-14 19:10:09 -08:00
test_parsers.py updated heuristic tool parser for orphaned toolcall tags 2026-02-14 00:16:54 -08:00
test_process_registry.py fixed NIM_INTERCEPT for chunked tool calls 2026-02-14 03:25:32 -08:00
test_provider_rate_limit.py Revamped logging 2026-02-14 18:55:33 -08:00
test_reliability.py Improved test coverage 2026-02-14 19:17:19 -08:00
test_request_utils.py Updated token counting and removed non streaming support 2026-02-14 19:10:09 -08:00
test_request_utils_filepaths_and_suggestions.py Refactor done by z-ai/glm5 2026-02-14 18:47:26 -08:00
test_response_conversion.py fix: preserve interleaved thinking, tool calls, and text in Anthropic↔NIM conversion 2026-02-15 02:08:35 +00:00
test_response_models.py Apply ruff format 2026-02-15 02:29:03 +00:00
test_restart_reply_restore.py Optimized code in hot paths with z-ai/glm5 2026-02-14 19:59:46 -08:00
test_robust_formatting.py Improved test coverage 2026-02-14 19:17:19 -08:00
test_routes_optimizations.py Added ruff and ty dependencies and lint 2026-02-14 18:00:21 -08:00
test_server_module.py Fix all ty check errors without using type: ignore 2026-02-15 02:28:33 +00:00
test_session_store_edge_cases.py Optimized code in hot paths with z-ai/glm5 2026-02-14 19:59:46 -08:00
test_sse_builder.py lint 2026-02-08 15:54:03 -08:00
test_streaming_errors.py lint 2026-02-14 19:17:51 -08:00
test_subagent_interception.py Phase 6: Remove dynamic attribute creation in NIM client 2026-02-15 01:39:43 +00:00
test_telegram.py fixed markdown errors for telegram 2026-02-05 17:22:00 -08:00
test_telegram_edge_cases.py Improved test coverage 2026-02-14 19:17:19 -08:00
test_transcript.py Optimized code in hot paths with z-ai/glm5 2026-02-14 19:59:46 -08:00
test_tree_concurrency.py Fix all ty check errors without using type: ignore 2026-02-15 02:28:33 +00:00
test_tree_processor.py Upon dequeue the current request immediately displays processing state instead of position 1 waiting 2026-02-08 04:06:41 -08:00
test_tree_queue.py Refactor done by z-ai/glm5 2026-02-14 18:47:26 -08:00
test_tree_repository.py Phase 5: Encapsulation - Repository and MessageTree API 2026-02-15 01:38:35 +00:00