mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-22 09:16:02 +08:00
- setup_database() also calls disable_assets_routes() so the off state does not depend on PromptServer construction order, and logs a notice when the deprecated --enable-assets no-op is passed alongside - disabled-mode test fixture: fail fast if the server process exits during startup instead of burning the 90s readiness timeout, kill the process if terminate() hangs, and close log handles if Popen raises - disabled enrichment test also asserts registration is never attempted
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/