From 2f7e0e7d0ea583db100d6a17c4b504f09bbe8aa7 Mon Sep 17 00:00:00 2001 From: kerry Date: Fri, 25 Sep 2026 01:35:37 +0000 Subject: [PATCH] test(coverage): ignore delegating properties the ast scan cannot see Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/code_coverage_tests/router_code_coverage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/code_coverage_tests/router_code_coverage.py b/tests/code_coverage_tests/router_code_coverage.py index 7332a533872..d2ec3f1286e 100644 --- a/tests/code_coverage_tests/router_code_coverage.py +++ b/tests/code_coverage_tests/router_code_coverage.py @@ -81,6 +81,9 @@ ignored_function_names = [ "_merge_tools_from_deployment", # Tested indirectly via _update_kwargs_with_deployment (test files lack "router" in name) "_invalidate_access_groups_cache", # Tested indirectly via set_model_list, upsert_model etc. (test files lack "router" in name) "has_buffered_provider_output", # Property, so its reads in test_router.py are never an ast.Call + "chunks", # Property on FallbackAwareAnthropicMessagesStream, so its reads in tests are never an ast.Call + "messages", # Property on FallbackAwareAnthropicMessagesStream, so its reads in tests are never an ast.Call + "model", # Property on FallbackAwareAnthropicMessagesStream, so its reads in tests are never an ast.Call "_request_header", # Tested through Claude Code session routing in test_router.py "_claude_code_session_router_cache_key", # Tested through Claude Code session routing in test_router.py "_delete_claude_code_session_router_binding", # Tested through Redis cleanup failure in test_router.py