mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:19:26 +08:00
- 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
19 lines
568 B
Python
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)",
|
|
)
|