diff --git a/pyproject.toml b/pyproject.toml index 0e6b8ed..aae12b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ testpaths = [ "tests", ] #python_files = ["test_*.py"] -python_files = ["test_boolean_nodes.py"] +python_files = ["conftest.py", "test_boolean_nodes.py"] [tool.mypy] files = "." diff --git a/tests/conftest.py b/tests/conftest.py index ea74195..aa09b9b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,6 +6,10 @@ from unittest.mock import MagicMock # This allows the tests to import the project sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) +print("=======================================================================") +print("Mocking 'comfy.comfy_types.node_typing' via conftest.py") +print("=======================================================================") + # Create a dummy 'comfy.comfy_types.node_typing' module mock_comfy = MagicMock() mock_comfy.IO = MagicMock(