Files
ComfyUI/tests-unit
Claude aee16f4a08 Fix deprecated flag not propagating to schema in dataset nodes
ImageProcessingNode and TextProcessingNode set is_deprecated as a class
attribute but never forwarded it into the io.Schema built by their shared
define_schema(), so /object_info reported deprecated: false for nodes like
ResizeImagesByShorterEdgeNode, TextToLowercaseNode, and ReplaceTextNode
despite is_deprecated = True on the class. The frontend's hide-deprecated
filter reads the schema, not the class attribute, so these nodes kept
showing up in search.

Forward cls.is_deprecated into io.Schema(...) in both base classes, same as
SaveImageDataSetToFolderNode already does directly. Adds a regression test
asserting schema.is_deprecated matches the class flag for every dataset node.
2026-08-09 06:54:25 +00:00
..

Pytest Unit Tests

Install test dependencies

pip install -r tests-unit/requirements.txt

Run tests

pytest tests-unit/