8 lines
177 B
Python
8 lines
177 B
Python
from fastapi.testclient import TestClient
|
|
from app.main import app
|
|
|
|
|
|
def test_health():
|
|
client = TestClient(app)
|
|
assert client.get('/health').json() == {'status': 'ok'}
|