MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / test_cli_detector

Function test_cli_detector

tests/test_cli.py:308–311  ·  view source on GitHub ↗

Test each detection algorithm.

(detector_command: str)

Source from the content-addressed store, hash-verified

306
307@pytest.mark.parametrize("detector_command", ALL_DETECTORS)
308def test_cli_detector(detector_command: str):
309 """Test each detection algorithm."""
310 # Ensure all detectors work without a statsfile.
311 assert invoke_scenedetect("-i {VIDEO} time {TIME} {DETECTOR}", DETECTOR=detector_command) == 0
312
313
314@pytest.mark.parametrize("detector_command", ALL_DETECTORS)

Callers

nothing calls this directly

Calls 1

invoke_scenedetectFunction · 0.85

Tested by

no test coverage detected