mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
require_env hard-failed a test (and, for the shared litellm-ops secret, drove piling every provider credential into one blob) whenever an optional cred was absent. Most call sites either read a value the test actually uses or just gated on the runner's env for a key the gateway consumes. Read os.environ directly where the test uses the value; drop the presence-only gates so those cases run against the proxy instead of pre-failing on the runner's environment. Removes the require_env helper from e2e_config. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| guardrails_client.py | ||
| test_apply_guardrail_e2e.py | ||
| test_bedrock_guardrail_e2e.py | ||
| test_block_code_execution_guardrail_e2e.py | ||
| test_openai_moderation_guardrail_e2e.py | ||
| test_presidio_guardrail_e2e.py | ||
| test_team_disable_global_guardrail_e2e.py | ||