mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-08-09 03:06:05 +02:00
Merge branch 'main' of github.com:msoedov/agentic_security
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
Reference in New Issue
Block a user