(tmp_path, video_clip)
| 115 | |
| 116 | |
| 117 | def test_writer_crop(tmp_path, video_clip): |
| 118 | x1, x2, y1, y2 = 0, 50, 0, 100 |
| 119 | video_clip.set_bbox(x1, x2, y1, y2) |
| 120 | file = video_clip.crop(dest_folder=str(tmp_path)) |
| 121 | vid = VideoWriter(file) |
| 122 | assert vid.dimensions == (x2 - x1, y2 - y1) |
| 123 | |
| 124 | |
| 125 | @pytest.mark.parametrize("target_height", [200, 177]) |
nothing calls this directly
no test coverage detected