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

Function test_cli_backend

tests/test_cli.py:788–793  ·  view source on GitHub ↗

Test setting the `-b`/`--backend` argument.

(backend_type: str)

Source from the content-addressed store, hash-verified

786
787@pytest.mark.parametrize("backend_type", ALL_BACKENDS)
788def test_cli_backend(backend_type: str):
789 """Test setting the `-b`/`--backend` argument."""
790 assert (
791 invoke_scenedetect("-i {VIDEO} -b {BACKEND} time {TIME} {DETECTOR}", BACKEND=backend_type)
792 == 0
793 )
794
795
796def test_cli_backend_unsupported():

Callers

nothing calls this directly

Calls 1

invoke_scenedetectFunction · 0.85

Tested by

no test coverage detected