File size: 330 Bytes
1d697a7
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# 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__))))