ComfyUI/tests-unit
bymyself e760bf5c40
Add content-type filter method to folder_paths (#4054)
* Add content-type filter method to folder_paths

* Add unit tests

* Hardcode webp content-type

* Annotate content_types as Literal["image", "video", "audio"]
2024-09-11 02:00:07 -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
folder_paths_test Add content-type filter method to folder_paths (#4054) 2024-09-11 02:00:07 -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/