From 7238fdc429055ef069fbcf93be55c8edbb7f8ebd Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Fri, 30 Oct 2026 17:29:34 -0700 Subject: [PATCH] test(router): list the OpenRouter discovery helpers in the router coverage gate --- tests/code_coverage_tests/router_code_coverage.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/code_coverage_tests/router_code_coverage.py b/tests/code_coverage_tests/router_code_coverage.py index 7e05e98d917..0fcb4b2822c 100644 --- a/tests/code_coverage_tests/router_code_coverage.py +++ b/tests/code_coverage_tests/router_code_coverage.py @@ -183,6 +183,13 @@ ignored_function_names = [ "_aresponses_background_stream_can_release", # Tested through the background Responses stream tests in test_router.py "_raise_released_stream_error", # Tested through the background Responses stream content-policy tests in test_router.py "_mid_stream_error_before_output", # Tested through the Responses mid-stream fallback and background stream tests + "_adiscover_openai_compatible_model_info", # Tested through the model info refresh tests in test_router_model_cost_isolation.py + "_adiscover_openrouter_model_info", # Tested through the OpenRouter refresh tests in test_router_model_cost_isolation.py + "_model_info_request_headers", # Read by both discovery paths, tested through the refresh tests in test_router_model_cost_isolation.py + "_core_get_wildcard_listing_info", # Tested through the OpenRouter wildcard listing tests in test_router_model_cost_isolation.py + "_wildcard_catalog_model_infos", # Read by _core_get_wildcard_listing_info, tested through the same listing tests + "get_routed_deployments", # Read by get_models_by_pattern and the wildcard listing, tested through both + "_deployments_of", # Read by get_routed_deployments, tested through get_models_by_pattern ]