Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

19 lines
568 B
Python

"""Local conftest for RAG integration tests.
The ``--pipeline`` option must be registered from a conftest (or a real
plugin), not from a test module — otherwise pytest raises
``ValueError: pytest_addoption is only supported from a plugin or conftest``.
"""
from __future__ import annotations
def pytest_addoption(parser):
"""Register the ``--pipeline`` CLI option used by the integration tests."""
parser.addoption(
"--pipeline",
action="store",
default="llamaindex",
help="Pipeline to test (e.g. llamaindex, all)",
)