litellm-mirror/tests
Krish Dholakia 4e34fc3bf8
[BETA] Support OIDC role based access to proxy (#8260)
* feat(proxy/_types.py): add new jwt field params

allows users + services to auth into proxy

* feat(handle_jwt.py): allow team role proxy access

allows proxy admin to set allowed team roles

* fix(proxy/_types.py): add 'routes' to role based permissions

allow proxy admin to restrict what routes a team can access easily

* feat(handle_jwt.py): support more flexible role based route access

v2 on role based 'allowed_routes'

* test(test_jwt.py): add unit test for rbac for proxy routes

* feat(handle_jwt.py): ensure cost tracking always works for any jwt request with `enforce_rbac=True`

* docs(token_auth.md): add documentation on controlling model access via OIDC Roles

* test: increase time delay before retrying

* test: handle model overloaded for test
2025-02-04 21:59:39 -08:00
..
basic_proxy_startup_tests (fix) don't block proxy startup if license check fails & using prometheus (#6839) 2024-11-20 17:55:39 -08:00
batches_tests (Refactor / QA) - Use LoggingCallbackManager to append callbacks and ensure no duplicate callbacks are added (#8112) 2025-01-30 19:35:50 -08:00
code_coverage_tests (Refactor / QA) - Use LoggingCallbackManager to append callbacks and ensure no duplicate callbacks are added (#8112) 2025-01-30 19:35:50 -08:00
documentation_tests Litellm dev 12 28 2024 p1 (#7463) 2024-12-28 20:26:00 -08:00
image_gen_tests (Refactor / QA) - Use LoggingCallbackManager to append callbacks and ensure no duplicate callbacks are added (#8112) 2025-01-30 19:35:50 -08:00
litellm_utils_tests (Feat) - Add support for structured output on bedrock/nova models + add util litellm.supports_tool_choice (#8264) 2025-02-04 21:47:16 -08:00
llm_translation [BETA] Support OIDC role based access to proxy (#8260) 2025-02-04 21:59:39 -08:00
load_tests [BETA] Add OpenAI /images/variations + Topaz API support (#7700) 2025-01-11 23:27:46 -08:00
local_testing (Feat) - Add support for structured output on bedrock/nova models + add util litellm.supports_tool_choice (#8264) 2025-02-04 21:47:16 -08:00
logging_callback_tests (feat) - track org_id in SpendLogs (#8253) 2025-02-04 21:08:05 -08:00
old_proxy_tests/tests vertex testing use pathrise-convert-1606954137718 2025-01-05 14:00:17 -08:00
openai_misc_endpoints_tests test_e2e_batches_files 2024-12-28 19:54:04 -08:00
otel_tests (QA / testing) - Add e2e tests for key model access auth checks (#8000) 2025-01-25 17:15:11 -08:00
pass_through_tests (Feat) - New pass through add assembly ai passthrough endpoints (#8220) 2025-02-03 21:54:32 -08:00
pass_through_unit_tests fix test test_is_assemblyai_route 2025-02-03 21:58:32 -08:00
proxy_admin_ui_tests Internal User Endpoint - vulnerability fix + response type fix (#8228) 2025-02-04 06:41:14 -08:00
proxy_unit_tests [BETA] Support OIDC role based access to proxy (#8260) 2025-02-04 21:59:39 -08:00
router_unit_tests (Feat) pass through vertex - allow using credentials defined on litellm router for vertex pass through (#8100) 2025-01-29 17:54:02 -08:00
store_model_in_db_tests (Bug fix) - Langfuse / Callback settings stored in DB (#8251) 2025-02-04 21:09:37 -08:00
gettysburg.wav feat(main.py): support openai transcription endpoints 2024-03-08 10:25:19 -08:00
large_text.py fix(router.py): check for context window error when handling 400 status code errors 2024-03-26 08:08:15 -07:00
openai_batch_completions.jsonl feat(router.py): Support Loadbalancing batch azure api endpoints (#5469) 2024-09-02 21:32:55 -07:00
README.MD Update README.MD 2024-03-29 14:56:41 -07:00
test_callbacks_on_proxy.py fix - test num callbacks 2024-05-17 22:06:51 -07:00
test_config.py fix testing - langfuse apis are flaky, we unit test team / key based logging in test_langfuse_unit_tests.py 2024-12-03 11:24:36 -08:00
test_debug_warning.py fix(utils.py): fix togetherai streaming cost calculation 2024-08-01 15:03:08 -07:00
test_end_users.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_entrypoint.py (fix) clean up root repo - move entrypoint.sh and build_admin_ui to /docker (#6110) 2024-10-08 11:34:43 +05:30
test_fallbacks.py Litellm dev 01 27 2025 p3 (#8047) 2025-01-28 18:01:27 -08:00
test_health.py (test) /health/readiness 2024-01-29 15:27:25 -08:00
test_keys.py LiteLLM Minor Fixes & Improvements (11/29/2024) (#6965) 2024-12-01 05:24:11 -08:00
test_logging.conf feat(proxy_cli.py): add new 'log_config' cli param (#6352) 2024-10-21 21:25:58 -07:00
test_models.py fix(proxy_server.py): fix get model info when litellm_model_id is set + move model analytics to free (#7886) 2025-01-21 08:19:07 -08:00
test_openai_endpoints.py Litellm dev 01 25 2025 p2 (#8003) 2025-01-25 16:50:57 -08:00
test_organizations.py test: skip flaky test 2024-11-22 19:23:36 +05:30
test_passthrough_endpoints.py test test_basic_passthrough 2024-08-06 21:17:07 -07:00
test_ratelimit.py (Refactor / QA) - Use LoggingCallbackManager to append callbacks and ensure no duplicate callbacks are added (#8112) 2025-01-30 19:35:50 -08:00
test_spend_logs.py (feat) - track org_id in SpendLogs (#8253) 2025-02-04 21:08:05 -08:00
test_team.py test: add more unit testing for team member endpoints (#8170) 2025-02-01 11:23:00 -08:00
test_team_logging.py test: skip flaky test 2024-11-22 19:23:36 +05:30
test_team_members.py test: add more unit testing for team member endpoints (#8170) 2025-02-01 11:23:00 -08:00
test_users.py Internal User Endpoint - vulnerability fix + response type fix (#8228) 2025-02-04 06:41:14 -08:00

In total litellm runs 500+ tests Most tests are in /litellm/tests. These are just the tests for the proxy docker image, used for circle ci.