This commit is contained in:
2025-10-24 17:06:14 -05:00
parent 12d0690b91
commit df8c75603f
11289 changed files with 1209053 additions and 318 deletions

View File

@@ -0,0 +1,14 @@
import pytest
from app.main import app
@pytest.fixture
def client():
app.config['TESTING'] = True
with app.test_client() as client:
yield client
def test_health_check(client):
"""Test the health check endpoint."""
rv = client.get('/health')
assert rv.status_code == 200
assert rv.get_json() == {'status': 'UP'}