Skip to content

Commit 40c7aec

Browse files
committed
chore: remove drag test node from release build
1 parent eb36122 commit 40c7aec

4 files changed

Lines changed: 1 addition & 598 deletions

File tree

__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,24 +269,14 @@ def setup_resolution(
269269
)
270270

271271

272-
class DenoResolutionSetupDragTest(DenoResolutionSetup):
273-
DESCRIPTION = (
274-
"Test node for interactive resize preview drag anchors.\n"
275-
"Same core behavior as (Deno) Resize Box, with draggable preview anchors for UX testing.\n"
276-
"YouTube: https://www.youtube.com/@Denoise-AI"
277-
)
278-
279-
280272
NODE_CLASS_MAPPINGS = {
281273
"DenoResolutionSetup": DenoResolutionSetup,
282-
"DenoResolutionSetupDragTest": DenoResolutionSetupDragTest,
283274
"DenoMultiImageLoader": DenoMultiImageLoader,
284275
"DenoLTXSequencer": DenoLTXSequencer,
285276
}
286277

287278
NODE_DISPLAY_NAME_MAPPINGS = {
288279
"DenoResolutionSetup": "(Deno) Resize Box",
289-
"DenoResolutionSetupDragTest": "(Deno) Resize Box (Drag Test)",
290280
"DenoMultiImageLoader": "(Deno) Multi Image Loader",
291281
"DenoLTXSequencer": "(Deno) LTX Sequencer",
292282
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "deno-custom-nodes"
33
description = "Practical custom nodes for ComfyUI production workflows"
4-
version = "0.3.1"
4+
version = "0.3.2"
55
requires-python = ">=3.10"
66
license = { file = "LICENSE" }
77
dependencies = []

tests/test_image_resize_node.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,10 @@ def test_node_registration_exports_expected_nodes():
7676

7777
assert list(package.NODE_CLASS_MAPPINGS.keys()) == [
7878
"DenoResolutionSetup",
79-
"DenoResolutionSetupDragTest",
8079
"DenoMultiImageLoader",
8180
"DenoLTXSequencer",
8281
]
8382
assert package.NODE_DISPLAY_NAME_MAPPINGS["DenoResolutionSetup"] == "(Deno) Resize Box"
84-
assert package.NODE_DISPLAY_NAME_MAPPINGS["DenoResolutionSetupDragTest"] == "(Deno) Resize Box (Drag Test)"
8583
assert package.NODE_DISPLAY_NAME_MAPPINGS["DenoMultiImageLoader"] == "(Deno) Multi Image Loader"
8684
assert package.NODE_DISPLAY_NAME_MAPPINGS["DenoLTXSequencer"] == "(Deno) LTX Sequencer"
8785
assert package.WEB_DIRECTORY == "./web/js"
@@ -129,22 +127,6 @@ def test_resize_box_declares_comfyui_contract():
129127
assert node_cls.FUNCTION == "setup_resolution"
130128

131129

132-
def test_resize_box_drag_test_declares_comfyui_contract():
133-
package = load_package()
134-
node_cls = package.NODE_CLASS_MAPPINGS["DenoResolutionSetupDragTest"]
135-
136-
input_types = node_cls.INPUT_TYPES()
137-
138-
assert input_types["required"]["mode"][0] == ["Preset Ratio", "Manual Input"]
139-
assert "16:9" in input_types["required"]["ratio_preset"][0]
140-
assert input_types["required"]["megapixels"][0] == "FLOAT"
141-
assert input_types["required"]["divisible_by"][0] == ["8", "16", "32", "64", "128"]
142-
assert input_types["optional"]["image"][0] == "IMAGE"
143-
assert node_cls.RETURN_TYPES == ("IMAGE", "INT", "INT")
144-
assert node_cls.RETURN_NAMES == ("image", "width", "height")
145-
assert node_cls.FUNCTION == "setup_resolution"
146-
147-
148130
def test_resize_box_calculates_aligned_dimensions_for_preset_mode():
149131
package = load_package()
150132
node = package.DenoResolutionSetup()

0 commit comments

Comments
 (0)