thanhnv2323's picture
init: add app fastapi
09da05c
Raw History Blame Contribute Delete
360 Bytes
"""Local path setup and deterministic env for survey tests."""
import sys
from pathlib import Path
import pytest
ROOT = Path(__file__).resolve().parents[3]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
@pytest.fixture(autouse=True)
def _force_stub_llm(monkeypatch: pytest.MonkeyPatch):
monkeypatch.setenv("ADSP_LLM_BACKEND", "stub")