# 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__))))