From 59c3aa02c353ddeb1e50b794ff71becc939463de Mon Sep 17 00:00:00 2001 From: Ariel Fogel Date: Thu, 16 Oct 2025 20:38:49 +0300 Subject: [PATCH] respond to review comments --- .../proxy/guardrails}/test_pillar_guardrails.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tests/{guardrails_tests => test_litellm/proxy/guardrails}/test_pillar_guardrails.py (99%) diff --git a/tests/guardrails_tests/test_pillar_guardrails.py b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py similarity index 99% rename from tests/guardrails_tests/test_pillar_guardrails.py rename to tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py index 31f257c94f9..67030a8161f 100644 --- a/tests/guardrails_tests/test_pillar_guardrails.py +++ b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py @@ -11,6 +11,9 @@ import sys from typing import Dict from unittest.mock import Mock, patch +# Add parent directory to path for imports +sys.path.insert(0, os.path.abspath("../../..")) + # Third-party imports import pytest from fastapi.exceptions import HTTPException @@ -27,9 +30,6 @@ from litellm.proxy.guardrails.guardrail_hooks.pillar import ( ) from litellm.proxy.guardrails.init_guardrails import init_guardrails_v2 -# Add parent directory to path for imports -sys.path.insert(0, os.path.abspath("../..")) - # ============================================================================ # FIXTURES