litellm/tests/router_unit_tests
2026-04-20 15:28:08 -07:00
..
conftest.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
create_mock_standard_logging_payload.py (refactor) - migrate router.deployment_callback_on_success to use StandardLoggingPayload (#7015) 2024-12-03 20:29:25 -08:00
gettysburg.wav test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
README.md test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
test_completion_no_copy.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_default_deployment_copy.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_get_model_list_alias_optimization.py fix(router): address remaining Greptile review comments 2026-03-27 20:11:28 +05:30
test_pre_call_checks_optimization.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_prompt_management_check.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_acancel_batch.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_adding_deployments.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_batch_utils.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_cooldown_utils.py fix(router): add minimum request threshold for error rate cooldown (#17464) 2025-12-12 04:36:10 -08:00
test_router_embedding_headers.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_embedding_integration.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_endpoints.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_handle_error.py fix(handle_error.py): add unit tests 2025-08-11 18:25:30 -07:00
test_router_helper_utils.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_index_management.py Merge branch 'litellm_internal_staging' into litellm_adaptive_routing 2026-04-20 15:28:08 -07:00
test_router_prompt_caching.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00

Router component unit tests.

Please name all files with the word 'router' in them.

This is used to ensure all functions in the router are tested.