mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-11 01:32:31 +08:00
Per coderabbit feedback: replace the module-level sys.modules['nodes'] = stub with a per-test fixture using monkeypatch.setitem so the fake module is torn down after each test, and reload app.node_replace_manager so it picks up the stub instead of any cached real import. Amp-Thread-ID: https://ampcode.com/threads/T-019dd37c-4751-72ef-9927-3182b5825db0 Co-authored-by: Amp <amp@ampcode.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| custom_node_manager_test.py | ||
| frontend_manager_test.py | ||
| model_manager_test.py | ||
| node_replace_manager_test.py | ||
| test_migrations.py | ||
| user_manager_system_user_test.py | ||