diff --git a/pyproject.toml b/pyproject.toml index e06593c..df16aa8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,11 @@ PublisherId = "" DisplayName = "Moxie Multimedia Suite" Icon = "" +[tool.pytest.ini_options] +# importlib mode avoids importing the pack root __init__.py (which needs a +# live ComfyUI environment) during test collection; pythonpath exposes the +# tests/ folder so test modules can share stub helpers across files. +addopts = "--import-mode=importlib" +pythonpath = ["tests"] +testpaths = ["tests"] +