v0.49.0: a web mix can carry several images, one after another under the description

This commit is contained in:
2026-10-10 23:39:06 -07:00
parent 9f390b6102
commit 660740992a
7 changed files with 145 additions and 41 deletions
+2 -1
View File
@@ -311,7 +311,8 @@ class TestWebExport:
image = tmp_path / "friend.png"
image.write_bytes(b"\x89PNG\r\n\x1a\n" + b"fake")
dest, _ = self._export(
tmp_path, [_track(1, "S", "A", _audio(tmp_path, "a.mp3"))], image=image)
tmp_path, [_track(1, "S", "A", _audio(tmp_path, "a.mp3"))],
images=[image])
assert (dest / "friend.png").read_bytes() == image.read_bytes()
assert 'src="friend.png"' in (dest / "index.html").read_text()