Files
GeekatplayStudio-ComfyUI-Un…/tests/test_command_builder.py
T
Vladimir ChopineandCopilot b695ed22e9 feat: initial UniversalVideoIO ComfyUI node pack
Includes FFmpeg-backed import/export nodes, master presets, sequence export, metadata probe, image batch to latent bridge, codec preset and audio mux utilities, packaging files, workflows, and baseline tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-25 10:08:09 -06:00

20 lines
471 B
Python

import os
import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
from core.command_builder import build_video_command
def test_build_video_command_has_codec_and_output():
cmd = build_video_command(
ffmpeg_path="ffmpeg",
input_pattern="/tmp/frame_%06d.png",
output_path="out.mp4",
fps=24,
profile_name="youtube_h264",
overwrite=True,
)
assert "-c:v" in cmd
assert cmd[-1] == "out.mp4"