litellm/tests/test_litellm/proxy/guardrails
Julio Quinteros Pro ab658d7d50 Fix pillar guardrails tests for parallel execution
The setup_and_teardown fixture was failing with "ImportError: module
litellm not in sys.modules" during parallel test execution. This occurs
because another worker might have removed/modified litellm from
sys.modules before this test tries to reload it.

Fix: Check if litellm is in sys.modules before attempting reload.
2026-02-15 13:08:41 -03:00
..
guardrail_hooks Guardrails - add nsfw policy template, toxic keywords in multiple languages, child safety content filter, json content viewer (#21205) 2026-02-14 09:41:55 -08:00
test_guardrail_endpoints.py guardrails list sensitive values fix 2026-02-09 17:11:54 -08:00
test_guardrail_registry.py added test for updating in memory guardrails 2025-09-17 17:16:49 -07:00
test_init_guardrails.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_pillar_guardrails.py Fix pillar guardrails tests for parallel execution 2026-02-15 13:08:41 -03:00
test_prompt_security_guardrails.py fixing prompt-security's guardrail implementation (#19374) 2026-01-21 20:09:40 -08:00