auto-form / tests /conftest.py
Menixis's picture
Claude Fable 5
test: pytest suite for the pure layers (data_source, ai_clean, form_logic, letter_builder) — 32 tests, no network, AI_BACKEND=off
f50726e
Raw History Blame Contribute Delete
280 Bytes
# -*- coding: utf-8 -*-
import os
import sys
# Repo root on sys.path so the app modules import directly.
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Deterministic AI backend — tests never hit the network.
os.environ["AI_BACKEND"] = "off"