24 lines
821 B
Python
24 lines
821 B
Python
# SimpleSyrup - workflow-focused ComfyUI extensions for image generation
|
|
# Copyright (C) 2026 Artificial Sweetener and contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
"""Verify the Prompt Control coordinator remains a thin module entrypoint."""
|
|
|
|
import sys
|
|
from subprocess import run
|
|
|
|
|
|
def test_cli_help_exposes_explicit_external_boundaries() -> None:
|
|
"""Keep source root, loopback server, output, and timeout caller-controlled."""
|
|
|
|
completed = run(
|
|
[sys.executable, "-m", "tools.characterize_prompt_control", "--help"],
|
|
check=True,
|
|
capture_output=True,
|
|
text=True,
|
|
)
|
|
assert "--prompt-control-root" in completed.stdout
|
|
assert "--server-url" in completed.stdout
|
|
assert "--output-root" in completed.stdout
|
|
assert "--prompt-timeout" in completed.stdout
|