mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 13:47:10 +08:00
Fix tests.
This commit is contained in:
parent
a0930eda6d
commit
51da0256f6
@ -145,7 +145,7 @@ def test_load_extra_model_paths_expands_appdata(
|
|||||||
else:
|
else:
|
||||||
expected_base_path = '/Users/TestUser/AppData/Roaming/ComfyUI'
|
expected_base_path = '/Users/TestUser/AppData/Roaming/ComfyUI'
|
||||||
expected_calls = [
|
expected_calls = [
|
||||||
('checkpoints', os.path.join(expected_base_path, 'models/checkpoints'), False),
|
('checkpoints', os.path.normpath(os.path.join(expected_base_path, 'models/checkpoints')), False),
|
||||||
]
|
]
|
||||||
|
|
||||||
assert mock_add_model_folder_path.call_count == len(expected_calls)
|
assert mock_add_model_folder_path.call_count == len(expected_calls)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user