SwarmAudit / tests /test_api.py
Pranoy Mukherjee
Add crawler, security agent, API, and Gradio MVP
a3ecd30
raw
history blame contribute delete
252 Bytes
from fastapi.testclient import TestClient
from app.main import app
def test_health_endpoint():
response = TestClient(app).get("/health")
assert response.status_code == 200
assert response.json() == {"status": "ok", "app": "SwarmAudit"}