This commit is contained in:
HAEGONG
2026-03-24 15:07:31 +09:00
commit 48f20ad446
18 changed files with 1231 additions and 0 deletions
@@ -0,0 +1,21 @@
#!/usr/bin/env python
"""Tests for `ComfyUI_LoadImageWithFileName` package."""
import pytest
from src.ComfyUI_LoadImageWithFileName.nodes import Example
@pytest.fixture
def example_node():
"""Fixture to create an Example node instance."""
return Example()
def test_example_node_initialization(example_node):
"""Test that the node can be instantiated."""
assert isinstance(example_node, Example)
def test_return_types():
"""Test the node's metadata."""
assert Example.RETURN_TYPES == ("IMAGE",)
assert Example.FUNCTION == "test"
assert Example.CATEGORY == "Example"