You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from fastapi.testclient import TestClient
|
|
|
|
from app import app
|
|
|
|
|
|
def test_health():
|
|
response = TestClient(app).get("/health")
|
|
|
|
assert response.status_code == 200
|
|
assert response.json() == {"status": "ok"}
|