9 Commits

Author SHA1 Message Date
filtered
9fa06c9663 Fix test state polution. 2025-01-29 00:39:53 +11:00
filtered
aa613db5af Revert last-minute refactor. 2025-01-29 00:39:42 +11:00
filtered
a856e6067c Update tests to use CLI arg mocking. 2025-01-29 00:32:15 +11:00
filtered
87dcae08d9 Update tests to match changes. 2025-01-26 14:29:36 +11:00
filtered
5cef7e3330 Fix test state leaks. 2025-01-26 05:53:39 +11:00
filtered
8d092025f8 Add folder_paths tests. 2025-01-26 05:14:22 +11:00
comfyanonymous
d9b7cfac7e Fix and enforce new lines at the end of files. 2024-12-30 04:14:59 -05:00
Alexander Piskun
caf2074773
add_model_folder_path: ensure unique paths by removing duplicates (#5998)
* add_model_folder_path: ensure unique paths by removing duplicates

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* refactored "add_model_folder_path" and added tests

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
2024-12-13 18:19:22 -05:00
Yoland Yan
81778a7feb
[🗻 Mount Fuji Commit] Add unit tests for folder path utilities (#4869)
All past 30 min of comtts are done on the top of Mt Fuji
By Comfy, Robin, and Yoland
All other comfy org members died on the way

Introduced unit tests to verify the correctness of various folder path
utility functions such as `get_directory_by_type`, `annotated_filepath`,
and `recursive_search` among others. These tests cover scenarios
including directory retrieval, filepath annotation, recursive file
searches, and filtering files by extensions, enhancing the robustness
and reliability of the codebase.
2024-09-10 00:44:49 -04:00