"""Repo-wide test config for tradein-mvp/backend.

Currently only registers custom pytest markers so they don't emit
PytestUnknownMarkWarning when used (`--strict-markers` is not enabled in
pyproject.toml, so an unregistered marker would only warn, not fail — this
just keeps output clean and documents intent in one place).
"""

from __future__ import annotations


def pytest_configure(config) -> None:
    config.addinivalue_line(
        "markers",
        "pdf_render: real (non-mocked) WeasyPrint render — needs native "
        "Pango/cairo/GObject libs, self-skips where unavailable (see "
        "tests/test_pdf_real_render.py docstring for how to run it for real).",
    )
