mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 05:17:05 +08:00
Resolve unit test in GPU-less runner
This commit is contained in:
parent
bb483ab225
commit
242e0e6493
@ -1,4 +1,7 @@
|
|||||||
"""Simplified tests for WebSocket feature flags functionality."""
|
"""Simplified tests for WebSocket feature flags functionality."""
|
||||||
|
from comfy.cli_args import args
|
||||||
|
# Force CPU mode for unit testing
|
||||||
|
args.cpu = True
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
from comfy_api import feature_flags
|
from comfy_api import feature_flags
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user