ComfyUI/tests-unit
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
..
app_test Cleanup empty dir if frontend zip download failed (#4574) 2024-08-27 02:07:25 -04:00
comfy_test [🗻 Mount Fuji Commit] Add unit tests for folder path utilities (#4869) 2024-09-10 00:44:49 -04:00
prompt_server_test Add model downloading endpoint. (#4248) 2024-08-13 15:48:52 -04:00
server Add GET /internal/files. (#4295) 2024-08-21 01:25:06 -04:00
utils Expand user directory for basepath in extra_models_paths.yaml (#4857) 2024-09-10 00:33:44 -04:00
README.md Add FrontendManager to manage non-default front-end impl (#3897) 2024-07-16 11:26:11 -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-units/requirements.txt

Run tests

pytest tests-units/