Test `save-html` command.
(tmp_path: Path)
| 658 | |
| 659 | |
| 660 | def 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 | |
| 672 | def test_cli_moviepy_accepts_frame_rate_override(): |
nothing calls this directly
no test coverage detected