Spaces:
Running
Running
Download tests/conftest.py from ipv6/mini_dance_tutor_app: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/spaces/ipv6/mini_dance_tutor_app/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/ipv6/mini_dance_tutor_app/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/ipv6/mini_dance_tutor_app/resolve/main/tests/conftest.py
237 Bytes
| """Pytest configuration for path setup.""" | |
| import sys | |
| from pathlib import Path | |
| PROJECT_ROOT = Path(__file__).resolve().parents[1] | |
| SRC_PATH = PROJECT_ROOT / "src" | |
| if str(SRC_PATH) not in sys.path: | |
| sys.path.insert(0, str(SRC_PATH)) | |