ComfyUI/tests-unit/conftest.py
Robin Huang d80c6ff581 Add GET /internal/files.
Retrieves list of files in models, output, and user directories.
2024-08-13 13:01:00 -07:00

6 lines
184 B
Python

import sys
import os
# Add the project root directory to the Python path
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
sys.path.insert(0, project_root)