NINA / tests /conftest.py
Malina
Claude Fable 5.1
v0.90: scoped single-use tokens, hardened link fetch, 45-minute cap, whole-video digest, one classification call, no OCR
1d697a7
Raw History Blame
330 Bytes
# Tests import only the light modules (auth, lang, fetch's URL check, utils). Nothing
# here loads torch, Whisper or CLIP, so `pytest` finishes in seconds on a laptop.
import os
import sys
os.environ.setdefault("NINA_SIGNING_SECRET", "test-secret")
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))