Skip to content

Commit f85c77d

Browse files
committed
fix: move routes/test_* to /tests/routes
1 parent 684ba0b commit f85c77d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

tests/routes/__init__.py

Whitespace-only changes.
File renamed without changes.

agentic_security/routes/test_health.py renamed to tests/routes/test_health.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from fastapi.testclient import TestClient
22

3-
from ..app import app
3+
from agentic_security.app import app
44

55

66
def test_health_check():

agentic_security/routes/test_probe.py renamed to tests/routes/test_probe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import pytest
66
from fastapi.testclient import TestClient
77

8-
from ..app import app
9-
from ..primitives import Probe
10-
from ..probe_actor.refusal import REFUSAL_MARKS
11-
from ..probe_data import REGISTRY
8+
from agentic_security.app import app
9+
from agentic_security.primitives import Probe
10+
from agentic_security.probe_actor.refusal import REFUSAL_MARKS
11+
from agentic_security.probe_data import REGISTRY
1212

1313
client = TestClient(app)
1414

agentic_security/routes/test_report.py renamed to tests/routes/test_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55
from fastapi.testclient import TestClient
66

7-
from .report import router
7+
from agentic_security.routes.report import router
88

99
client = TestClient(router)
1010

agentic_security/routes/test_static.py renamed to tests/routes/test_static.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from fastapi import HTTPException
55
from fastapi.testclient import TestClient
66

7-
from ..primitives import Settings
8-
from .static import get_static_file, router
7+
from agentic_security.primitives import Settings
8+
from agentic_security.routes.static import get_static_file, router
99

1010
client = TestClient(router)
1111

0 commit comments

Comments
 (0)