Download LanPaint/tests/conftest.py from MarkLilly/mis-custom-nodes: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/LanPaint/tests/conftest.py
- Command line
-
hf download hf://MarkLilly/mis-custom-nodes/LanPaint/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/LanPaint/tests/conftest.py
199 Bytes
| import os | |
| import sys | |
| # Add the project root directory to Python path | |
| # This allows the tests to import the project | |
| sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) | |