Test each detection algorithm.
(detector_command: str)
| 306 | |
| 307 | @pytest.mark.parametrize("detector_command", ALL_DETECTORS) |
| 308 | def 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) |
nothing calls this directly
no test coverage detected