EDL output has title header, FCM line, and one event per scene in CMX 3600 format.
(tmp_path: Path)
| 249 | |
| 250 | |
| 251 | def test_write_scene_list_edl(tmp_path: Path): |
| 252 | """EDL output has title header, FCM line, and one event per scene in CMX 3600 format.""" |
| 253 | scenes = _fake_scenes(_FPS_CFR, [(0, 30), (30, 60)]) |
| 254 | output_path = tmp_path / "scenes.edl" |
| 255 | write_scene_list_edl(output_path, scenes, title="my-clip", reel="AX") |
| 256 | |
| 257 | content = output_path.read_text() |
| 258 | assert "TITLE: my-clip" in content |
| 259 | assert "FCM: NON-DROP FRAME" in content |
| 260 | assert "001 AX V C 00:00:00:00 00:00:01:00 00:00:00:00 00:00:01:00" in content |
| 261 | assert "002 AX V C 00:00:01:00 00:00:02:00 00:00:01:00 00:00:02:00" in content |
| 262 | |
| 263 | |
| 264 | def test_write_scene_list_edl_accepts_str_path(tmp_path: Path): |
nothing calls this directly
no test coverage detected