Files
SneakySwole/tests/test_app.py
2026-02-24 09:12:31 -06:00

13 lines
394 B
Python

"""Tests for the FastAPI application factory."""
from fastapi.testclient import TestClient
class TestCreateApp:
"""Tests for the application factory and basic setup."""
def test_app_starts_without_error(self, client: TestClient) -> None:
"""The app should initialize and serve requests."""
response = client.get("/health")
assert response.status_code == 200