Spaces:
Sleeping
Sleeping
Download tests/conftest.py from Eeeee83/wan-studio: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/Eeeee83/wan-studio/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/Eeeee83/wan-studio/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/Eeeee83/wan-studio/resolve/main/tests/conftest.py
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)) | |