Files
BartandClaude Sonnet 4.6 9656a57575 refactor: drop pytest scaffolding, restore spec __init__
Remove tests/__init__.py and pyproject.toml as directed by spec-compliance
review. Restore __init__.py to exact spec content (plain relative import,
no try/except fallback). Add minimal pytest.ini + conftest.py to work around
pytest 9's Package.setup() behaviour in the ComfyUI tree: the parent pytest.ini
would otherwise take over rootdir, and Package.setup() unconditionally imports
__init__.py as a standalone module which breaks the relative import. The
conftest.py adds custom_nodes to sys.path so the package resolves correctly;
pytest.ini sets --import-mode=importlib and consider_namespace_packages=true.
All 5 tests pass with `python -m pytest tests/test_node.py -v`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 22:49:46 +02:00

7 lines
227 B
Python

"""Ideogram4 Bbox Editor — ComfyUI custom node."""
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]