"""Fixtures for web utility tests."""

import pytest
from unittest.mock import Mock


@pytest.fixture
def mock_flask_app():
    """Create a mock Flask application."""
    app = Mock()
    app.debug = False
    app.config = {}
    app.jinja_env = Mock()
    app.jinja_env.globals = {}
    return app


@pytest.fixture
def mock_flask_app_debug():
    """Create a mock Flask application in debug mode."""
    app = Mock()
    app.debug = True
    app.config = {}
    app.jinja_env = Mock()
    app.jinja_env.globals = {}
    return app


@pytest.fixture
def mock_request():
    """Create a mock Flask request."""
    request = Mock()
    request.environ = {}
    return request
