modeltest / test_app.py
yaseengoldfinchpc's picture
Update cpu fall back
79043a8
raw
history blame contribute delete
237 Bytes
from fastapi.testclient import TestClient
from app import app
client = TestClient(app)
def test_health_check():
response = client.get("/health")
assert response.status_code == 200
assert "status" in response.json()