14 lines
381 B
Python
14 lines
381 B
Python
"""Smoke tests for VoIdea health endpoints."""
|
|
|
|
|
|
def test_health_endpoint_exists():
|
|
"""Health endpoint route exists and returns expected structure.
|
|
|
|
This test verifies the route config without hitting a real server.
|
|
"""
|
|
from app.main import app
|
|
|
|
routes = [route.path for route in app.routes]
|
|
assert "/health" in routes
|
|
assert "/api/v1/health" in routes
|