File size: 385 Bytes
51efbb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import sys

sys.path.insert(0, "apps")
sys.path.insert(0, "packages/core")

from fastapi.testclient import TestClient

from api.main import app


def test_health_is_explicit_about_evidence():
    with TestClient(app) as client:
        response = client.get("/api/v1/health")
    assert response.status_code == 200
    assert response.json()["evidence_mode"] == "real_artifacts_only"