test_server.py 261 B

1234567891011
  1. from fastapi.testclient import TestClient
  2. from argus_mcp.server import app
  3. def test_health_route_exists():
  4. client = TestClient(app)
  5. response = client.get("/health")
  6. assert response.status_code == 200
  7. assert response.json()["status"] == "ok"