ComfyUI/tests-unit
Robin Huang f07e5bb522
Add GET /internal/files. (#4295)
* Create internal route table.

* List files.

* Add GET /internal/files.

Retrieves list of files in models, output, and user directories.

* Refactor file names.

* Use typing_extensions for Python 3.8

* Fix tests.

* Remove print statements.

* Update README.

* Add output and user to valid directory test.

* Add missing type hints.
2024-08-21 01:25:06 -04:00
..
app_test
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
README.md
requirements.txt Add model downloading endpoint. (#4248) 2024-08-13 15:48:52 -04:00

README.md

Pytest Unit Tests

Install test dependencies

pip install -r tests-units/requirements.txt

Run tests

pytest tests-units/