Try to make unique node names

This commit is contained in:
StableLlama
2025-05-10 01:04:30 +02:00
parent 867ead6571
commit cf3d3cf439
4 changed files with 89 additions and 96 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from src.basic_data_handling.string_nodes import (
StringCapitalize,
StringCasefold,
StringCenter,
DataStringConcat,
StringConcat,
StringCount,
StringDecode,
StringEncode,
@@ -72,7 +72,7 @@ def test_center():
assert node.center("test", 10, "ab") == ("aaatestaaa",)
def test_concat():
node = DataStringConcat()
node = StringConcat()
assert node.concat("hello ", "world") == ("hello world",)
assert node.concat("", "") == ("",) # Empty strings
assert node.concat("123", "456") == ("123456",) # Numbers as strings