Files
ComfyUI/tests-unit
Simon Pinfold b7c58c8371 fix(assets): harden --disable-assets from review feedback
- 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
2026-07-28 08:47:42 +12:00
..
2026-06-25 11:23:58 -07:00

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/