fix: move routes/test_* to /tests/routes

This commit is contained in:
doa committed 2025-03-08 23:46:09 +03:00
1 parent 684ba0b70d
commit f85c77d622
6 files changed
+8 -8

No files matched your search

View File
Whitespace-only changes.
File renamed without changes.
@@ -1,6 +1,6 @@
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from ..app import app from agentic_security.app import app
def test_health_check(): def test_health_check():
@@ -5,10 +5,10 @@ import httpx
import pytest import pytest
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from ..app import app from agentic_security.app import app
from ..primitives import Probe from agentic_security.primitives import Probe
from ..probe_actor.refusal import REFUSAL_MARKS from agentic_security.probe_actor.refusal import REFUSAL_MARKS
from ..probe_data import REGISTRY from agentic_security.probe_data import REGISTRY
client = TestClient(app) client = TestClient(app)
@@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest import pytest
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from .report import router from agentic_security.routes.report import router
client = TestClient(router) client = TestClient(router)
@@ -4,8 +4,8 @@ import pytest
from fastapi import HTTPException from fastapi import HTTPException
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from ..primitives import Settings from agentic_security.primitives import Settings
from .static import get_static_file, router from agentic_security.routes.static import get_static_file, router
client = TestClient(router) client = TestClient(router)