v0.49.0: a web mix can carry several images, one after another under the description
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user