litellm/tests/router_unit_tests
2026-09-24 14:10:51 +05:30
..
conftest.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
create_mock_standard_logging_payload.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
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 chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_default_deployment_copy.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_get_model_list_alias_optimization.py chore(ci): modernize model references in tests and configs (#27856) 2026-05-15 15:44:28 -07:00
test_pre_call_checks_optimization.py chore(ci): modernize model references in tests and configs (#27856) 2026-05-15 15:44:28 -07:00
test_prompt_management_check.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_acancel_batch.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_adding_deployments.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_anthropic_messages_fallback.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_aresponses_streaming_fallback.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_batch_utils.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_cooldown_per_deployment.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_cooldown_utils.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_embedding_headers.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_embedding_integration.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_endpoints.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_handle_error.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_helper_utils.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_index_management.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30
test_router_prompt_caching.py chore: sync branch with upstream main 2026-09-24 14:10:51 +05:30

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.