Test setting the `-b`/`--backend` argument.
(backend_type: str)
| 786 | |
| 787 | @pytest.mark.parametrize("backend_type", ALL_BACKENDS) |
| 788 | def 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 | |
| 796 | def test_cli_backend_unsupported(): |
nothing calls this directly
no test coverage detected