ACCC1380/molab-moss / ComfyUI /tests-unit /execution_test /test_executor_asset_manager.py
ACCC1380's picture
download
raw
351 Bytes
from execution import PromptExecutor
def test_executor_built_without_a_manager_leaves_assets_off():
# Only startup initialises the asset database, so a manager it didn't pass can't be enabled.
executor = PromptExecutor(object(), cache_type=False, cache_args={"ram": 0, "ram_inactive": 0})
assert executor.asset_manager.enabled is False

Xet Storage Details

Size:
351 Bytes
·
Xet hash:
35f59502842e5c298f7abc125e8b06e43fced9ed742f9ea964ff0ce1e57dde46

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.