MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / test_cli_save_html

Function test_cli_save_html

tests/test_cli.py:660–669  ·  view source on GitHub ↗

Test `save-html` command.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

658
659
660def test_cli_save_html(tmp_path: Path):
661 """Test `save-html` command."""
662 base_command = "-i {VIDEO} -s {STATS} time {TIME} {DETECTOR} {COMMAND}"
663 assert invoke_scenedetect(base_command, COMMAND="save-html", output_dir=tmp_path) == 0
664 assert (
665 invoke_scenedetect(base_command, COMMAND="save-html --no-images", output_dir=tmp_path) == 0
666 )
667 # Ensure we can still call the now deprecated export-html command.
668 assert invoke_scenedetect(base_command, COMMAND="export-html", output_dir=tmp_path) == 0
669 # TODO: Check for existence of HTML & image files.
670
671
672def test_cli_moviepy_accepts_frame_rate_override():

Callers

nothing calls this directly

Calls 1

invoke_scenedetectFunction · 0.85

Tested by

no test coverage detected