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

Function test_cli_range_smoke

tests/release/test_cli_permutations.py:57–72  ·  view source on GitHub ↗
(test_video_file, tmp_path)

Source from the content-addressed store, hash-verified

55
56@pytest.mark.release
57def 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

Calls 1

_runFunction · 0.85

Tested by

no test coverage detected