mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
Fix test
This commit is contained in:
parent
748924de12
commit
32af09cebf
@ -173,9 +173,10 @@ def test_base_path_change_clears_old(set_base_dir_t):
|
|||||||
"hypernetworks",
|
"hypernetworks",
|
||||||
"photomaker",
|
"photomaker",
|
||||||
"classifiers",
|
"classifiers",
|
||||||
|
"controlnet",
|
||||||
]
|
]
|
||||||
for name in single_model_paths:
|
for name in single_model_paths:
|
||||||
assert len(folder_paths.get_folder_paths(name)) == 1
|
assert len(folder_paths.get_folder_paths(name)) == 1
|
||||||
|
|
||||||
for name in ["controlnet", "diffusion_models", "text_encoders", "configs"]:
|
for name in ["diffusion_models", "text_encoders", "configs"]:
|
||||||
assert len(folder_paths.get_folder_paths(name)) == 2
|
assert len(folder_paths.get_folder_paths(name)) == 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user