Files
Eutectico-ComfyUI-MOSS-TTS/tests
Federico Volovnik-Jose 395bc1f2d0 fix(tests): drop tests/__init__.py so pytest doesn't traverse into root package
With both tests/__init__.py and a root __init__.py present, pytest treats
tests as a child of an implicit root package and tries to import the root
__init__.py — which uses 'from .nodes import' (relative). That fails outside
the ComfyUI loader because pytest invokes it with no parent package.

Removing tests/__init__.py switches pytest to rootdir-relative discovery,
which leaves the root __init__.py alone.
2026-04-25 16:53:25 +02:00
..