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

Function test_cli_time_validate_options

tests/test_cli.py:142–147  ·  view source on GitHub ↗

Validate behavior of setting parameters via the `time` command.

()

Source from the content-addressed store, hash-verified

140
141
142def test_cli_time_validate_options():
143 """Validate behavior of setting parameters via the `time` command."""
144 base_command = "-i {VIDEO} time {TIME} {DETECTOR}"
145 # Ensure cannot set end and duration together.
146 assert invoke_scenedetect(base_command, TIME="-s 2.0 -d 6.0 -e 8.0") != 0
147 assert invoke_scenedetect(base_command, TIME="-s 2.0 -e 8.0 -d 6.0 ") != 0
148
149
150def test_cli_time_end():

Callers

nothing calls this directly

Calls 1

invoke_scenedetectFunction · 0.85

Tested by

no test coverage detected