Function
test_cli_range_smoke
(test_video_file, tmp_path)
Source from the content-addressed store, hash-verified
| 55 | |
| 56 | @pytest.mark.release |
| 57 | def test_cli_range_smoke(test_video_file, tmp_path): |
| 58 | result = _run( |
| 59 | [ |
| 60 | "-i", |
| 61 | os.path.abspath(test_video_file), |
| 62 | "-o", |
| 63 | str(tmp_path), |
| 64 | "time", |
| 65 | "-e", |
| 66 | "2s", |
| 67 | "detect-content", |
| 68 | "list-scenes", |
| 69 | ], |
| 70 | cwd=os.path.abspath(os.path.dirname(test_video_file) + "/../.."), |
| 71 | ) |
| 72 | assert result.returncode == 0, f"stderr:\n{result.stderr}\nstdout:\n{result.stdout}" |
| 73 | |
| 74 | |
| 75 | @pytest.mark.release |
Callers
nothing calls this directly
Tested by
no test coverage detected