litellm/tests
Ishaan Jaff b9ffa98c55
[Feat] Proxy CLI: Create a python method to login using litellm proxy (#14782)
* fix: cli auth with SSO okta

* fix: add LITTELM_CLI_SERVICE_ACCOUNT_NAME

* fix: get_litellm_cli_user_api_key_auth

* use existing_key CLI

* fix: use existing key

* test auth commands

* test_cli_sso_callback_regenerate_vs_create_flow

* feat: add CLI Token Utilities

* fix: get_stored_api_key

* move file

* fix: get_valid_models

* fix config.yaml

* TestCLITokenUtils

* TestGetValidModelsWithCLI

* fix: tie user id to keys created through CLI

* fix: add teams interface to CLI

* add /keys/update to the list client commands

* fix /sso/cli/poll to return the user_id

* fix: working TeamsManagementClient

* fix CLI Login command

* fixes for auth

* Potential fix for code scanning alert no. 3400: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* ruff fix

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-22 21:28:38 -07:00
..
basic_proxy_startup_tests
batches_tests [Feat] Batches - Add bedrock retrieve endpoint support (#14618) 2025-09-16 19:19:02 -07:00
code_coverage_tests fix: license check.ini 2025-09-18 19:28:07 -07:00
documentation_tests
enterprise tes fix 2025-09-20 17:00:30 -07:00
guardrails_tests Added model armor testing files basic 2025-09-20 22:40:46 -07:00
image_gen_tests Add comprehensive tests for Bedrock inference profiles with Nova Canvas 2025-09-15 16:53:52 +02:00
litellm/llms Revert "fix: remove anthropic-beta header for Vertex AI requests with prompt caching" (#14421) 2025-09-10 15:47:18 -07:00
litellm_utils_tests Merge branch 'main' into fix/streaming-tool-call-indices 2025-09-21 21:24:22 -07:00
litellm-proxy-extras
llm_responses_api_testing [Fix] /responses API - add cancel endpoint + allow non-admins to use this as an llm api endpoint (#14594) 2025-09-15 18:49:54 -07:00
llm_translation test_rerank_custom_callbacks 2025-09-20 16:27:58 -07:00
load_tests
local_testing Merge pull request #14438 from hakasecurity/change-aim-headers 2025-09-19 23:32:50 -07:00
logging_callback_tests fix: test 2025-09-19 16:28:09 -07:00
mcp_tests test fix 2025-09-19 18:05:36 -07:00
multi_instance_e2e_tests
old_proxy_tests/tests
openai_endpoints_tests fix type 2025-09-16 15:41:52 -07:00
otel_tests fix(prometheus.py): fix spend metrics 2025-09-18 19:12:07 -07:00
pass_through_tests
pass_through_unit_tests fix: test_init_kwargs_for_pass_through_endpoint_basic 2025-09-18 07:59:05 -07:00
proxy_admin_ui_tests Fixed Log Tab Key Alias filtering inaccurately for failed logs 2025-09-11 13:05:48 -07:00
proxy_security_tests
proxy_unit_tests fix: flaky passthrough tests (#14692) 2025-09-18 15:35:14 -07:00
router_unit_tests [Bug Fix] x-litellm-tags not routing with Responses API (#14289) 2025-09-05 09:40:37 -07:00
scim_tests
spend_tracking_tests
store_model_in_db_tests test fix 2025-09-19 17:33:37 -07:00
test_litellm [Feat] Proxy CLI: Create a python method to login using litellm proxy (#14782) 2025-09-22 21:28:38 -07:00
unified_google_tests
vector_store_tests
windows_tests
__init__.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
README.MD
test_budget_management.py
test_callbacks_on_proxy.py
test_config.py
test_debug_warning.py
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_health.py
test_keys.py
test_logging.conf
test_models.py
test_openai_endpoints.py test fix 2025-09-01 17:04:47 -07:00
test_organizations.py
test_passthrough_endpoints.py
test_ratelimit.py
test_resource_cleanup.py
test_spend_logs.py Revert "Allow configuration to on what threshold to try truncating request content in db" 2025-08-28 16:12:42 -06:00
test_team_logging.py
test_team_members.py
test_team.py
test_users.py

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/litellm

This folder can only run mock tests.