ComfyUI/tests-unit
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
..
app_test Cleanup empty dir if frontend zip download failed (#4574) 2024-08-27 02:07:25 -04:00
comfy_test add_model_folder_path: ensure unique paths by removing duplicates (#5998) 2024-12-13 18:19:22 -05:00
execution_test Reland union type (#5900) 2024-12-04 15:12:10 -05:00
folder_paths_test Run unit tests on Windows/MacOS as well. (#5018) 2024-09-22 05:01:39 -04:00
prompt_server_test Remove internal model download endpoint (#5432) 2024-11-28 04:57:06 -05:00
server Live terminal output (#5396) 2024-11-08 19:13:34 -05:00
utils Run unit tests on Windows/MacOS as well. (#5018) 2024-09-22 05:01:39 -04:00
README.md Minor: update tests-unit README.md (#4896) 2024-09-12 04:53:08 -04:00
requirements.txt Add model downloading endpoint. (#4248) 2024-08-13 15:48:52 -04:00

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/