All checks were successful
Deploy Trade-In / changes (push) Successful in 11s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / test (push) Successful in 5m2s
Deploy Trade-In / build-backend (push) Successful in 5m38s
Deploy Trade-In / deploy (push) Successful in 1m4s
18 lines
688 B
Python
18 lines
688 B
Python
"""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).",
|
|
)
|