Validate behavior of setting parameters via the `time` command.
()
| 140 | |
| 141 | |
| 142 | def 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 | |
| 150 | def test_cli_time_end(): |
nothing calls this directly
no test coverage detected