wan-studio / tests /conftest.py
techfreakworm's picture
Stabilize startup: lazy model load + wan2.1-t2v-14b stitch bundle
e2bcf63 verified
Raw History Blame Contribute Delete
256 Bytes
"""Pytest config for Wan Studio.
Adds the project root to sys.path so tests can `from pipelines import ...`
without an installed package.
"""
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(ROOT))