ComfyUI/tests-unit
Christian Byrne 255572188f
Add workflow templates version tracking to system_stats (#9089)
Adds installed and required workflow templates version information to the
/system_stats endpoint, allowing the frontend to detect and notify users
when their templates package is outdated.

- Add get_installed_templates_version() and get_required_templates_version()
  methods to FrontendManager
- Include templates version info in system_stats response
- Add comprehensive unit tests for the new functionality
2025-09-26 21:29:13 -07:00
..
app_test
comfy_api_nodes_test
comfy_api_test
comfy_extras_test
comfy_test
execution_test
folder_paths_test
prompt_server_test
server/utils
server_test
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/