ComfyUI/tests-unit
SHIVANSH GUPTA d03ae077b4
Added parameter required_frontend_version in the /system_stats API response (#8875)
* Added the parameter required_frontend_version in the /system_stats  api response

* Update server.py

* Created a function get_required_frontend_version and wrote tests for it

* Refactored the function to return currently installed frontend pacakage version

* Moved required_frontend to a new function and imported that in server.py

* Corrected test cases using mocking techniques

* Corrected files to comply with ruff formatting
2025-07-24 14:05:54 -04:00
..
app_test Added parameter required_frontend_version in the /system_stats API response (#8875) 2025-07-24 14:05:54 -04:00
comfy_api_nodes_test
comfy_api_test
comfy_extras_test
comfy_test
execution_test Reland union type (#5900) 2024-12-04 15:12:10 -05:00
folder_paths_test LoRA Trainer: LoRA training node in weight adapter scheme (#8446) 2025-06-13 19:25:59 -04:00
prompt_server_test Add /api/v2/userdata endpoint (#7817) 2025-04-27 20:06:55 -04:00
server/utils
utils
feature_flags_test.py
README.md
requirements.txt
websocket_feature_flags_test.py

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/