feat(mcp-image-gen): add test suite (19 tests) and Lumen profile pictures

This commit is contained in:
Patrick Plate
2026-04-04 14:09:11 +02:00
parent f24aafec69
commit 64c0a62b49
8 changed files with 31 additions and 10 deletions
+4 -2
View File
@@ -44,7 +44,9 @@ def test_build_flux_workflow_structure():
assert wf["9"]["class_type"] == "SaveImage"
assert wf["13"]["class_type"] == "KSampler"
assert wf["27"]["class_type"] == "EmptySD3LatentImage"
assert wf["30"]["class_type"] == "CheckpointLoaderSimple"
assert wf["30"]["class_type"] == "DualCLIPLoader"
assert wf["31"]["class_type"] == "VAELoader"
assert wf["32"]["class_type"] == "UNETLoader"
assert wf["33"]["class_type"] == "CLIPTextEncode"
@@ -65,7 +67,7 @@ def test_build_flux_workflow_params_injected():
assert wf["27"]["inputs"]["height"] == 768
assert wf["13"]["inputs"]["steps"] == 8
assert wf["13"]["inputs"]["seed"] == 12345
assert wf["30"]["inputs"]["ckpt_name"] == "sdxl.safetensors"
assert wf["32"]["inputs"]["unet_name"] == "sdxl.safetensors"
def test_negative_prompt_included():