f24d0ba168
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
332 B
Python
17 lines
332 B
Python
from flask import Flask
|
|
|
|
from src.api import init_api
|
|
|
|
|
|
def _make_app():
|
|
app = Flask(__name__)
|
|
init_api(app)
|
|
return app
|
|
|
|
|
|
def test_health_returns_ok_without_auth():
|
|
app = _make_app()
|
|
resp = app.test_client().get("/api/v1/health")
|
|
assert resp.status_code == 200
|
|
assert resp.get_json() == {"status": "ok"}
|