Files
DeepTutor/tests/services/rag/conftest.py
Bingxi Zhao (Frank) 593ddba3fb feat(co-writer): add multi-doc co-writer workspace with backend storage
- Add co-writer storage module and API router for document persistence
- Restructure co-writer page to per-doc routing ([docId]) with sidebar recent list
- Wire CoWriterRecent into sidebar shell and AppShellContext
- Tidy notebook prompts, facade, path service, and builtin tools wiring
- Refresh tests (add missing __init__.py, drop obsolete app_facade test)
- Add favicon/apple-touch-icon assets and minor i18n cleanup

Made-with: Cursor
2026-04-20 19:46:41 +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)",
)