import pytest from fastapi.testclient import TestClient from app.main import app @pytest.fixture def client(): """Provide a FastAPI test client.""" return TestClient(app) @pytest.fixture def sample_daily_html(): """Minimal daily-newsletter HTML for templateify tests.""" return """

January 1, 2025

Intro text here

""" @pytest.fixture def sample_special_events_html(): """Minimal special-events HTML for templateify tests.""" return """

My Event

Some intro

Some outro

"""