litellm/tests/router_unit_tests
Sameer Kankute 2321d77599
fix(router): address remaining Greptile review comments
- Cache LITELLM_ENABLE_TEAM_STALE_ALIAS_BYPASS at module level to avoid hot-path secret lookups
- Add clarifying comments for should_include_deployment team isolation logic
- Add negative assertion for update_team.assert_not_called() in test
- Add docstring clarification for _get_team_deployments helper pattern
- Add explicit assertion message in test_get_model_list_alias_optimization

Made-with: Cursor
2026-03-27 20:11:28 +05:30
..
conftest.py
create_mock_standard_logging_payload.py
gettysburg.wav
README.md
test_completion_no_copy.py
test_default_deployment_copy.py
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
test_prompt_management_check.py
test_router_acancel_batch.py
test_router_adding_deployments.py
test_router_batch_utils.py
test_router_cooldown_utils.py
test_router_embedding_headers.py
test_router_embedding_integration.py
test_router_endpoints.py
test_router_handle_error.py
test_router_helper_utils.py Address router generic API review feedback 2026-03-18 15:25:44 -05:00
test_router_index_management.py Fix code qa issues 2026-03-27 20:11:28 +05:30
test_router_prompt_caching.py

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.