Spaces:
Sleeping
Sleeping
| from fastapi.testclient import TestClient | |
| from main import app | |
| client = TestClient(app) | |
| def test_root_health(): | |
| resp = client.get("/") | |
| assert resp.status_code == 200 | |
| body = resp.json() | |
| assert "status" in body | |