"""Shared pytest fixtures for the Lottery Tracker test suite.""" from __future__ import annotations import pytest from app import create_app @pytest.fixture() def app(): """Create a test Flask app.""" application = create_app() application.config["TESTING"] = True return application @pytest.fixture() def client(app): """Flask test client.""" return app.test_client()