litellm/tests/unit/test_router
Devin AI 649fd3c9ea feat(fallbacks): surface fallbacks in nav, provider wildcards, and LiteAdmin
- match fnmatch pattern keys (e.g. openai/*) in get_fallback_model_group
  with priority exact > stripped/prefixed > pattern > generic *
- add provider wildcard options (All <Provider> Models) to the Add
  Fallbacks primary picker; exclude wildcards from fallback chains
- resolve provider logos in the fallbacks table for wildcard and
  prefixed keys, and render provider wildcards as friendly labels
- add a top-level Fallbacks nav item and /fallbacks page
- add fallbacks_list, fallback_set and fallback_delete LiteAdmin tools

Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
2026-10-10 01:59:59 +00:00
..
__init__.py test: add __init__.py to every tests/unit directory phase 16 touches 2026-09-20 11:52:38 +00:00
test_enforce_model_rate_limits.py test: migrate phase 16 legacy tests to tests/unit 2026-09-20 10:59:02 +00:00
test_io_token_rate_limits.py test: migrate phase 16 legacy tests to tests/unit 2026-09-20 10:59:02 +00:00
test_router.py test: move offline router, retry and latency tests from local_testing to tests/unit (#45551) 2026-10-09 09:47:04 -07:00
test_router_callback_hook_sequence.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_router_endpoints.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_fallbacks.py feat(fallbacks): surface fallbacks in nav, provider wildcards, and LiteAdmin 2026-10-10 01:59:59 +00:00
test_router_get_deployments.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_helper_utils.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_provider_endpoints.py test: make 77 legacy live tests offline in litellm_utils, router_unit and responses dirs (#45298) 2026-10-08 02:37:55 -07:00
test_router_retries.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_timeout.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_vector_store_endpoints.py test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00