HEL-892: document source-bound dual image and video concatenation

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 19:35:11 +08:00
co-authored by multica-agent
parent d1ba226777
commit 004984a86c
64 changed files with 29704 additions and 19 deletions
@@ -214,11 +214,15 @@ def test_exact_graph_and_original_seventeen_unchanged():
old = json.loads(subprocess.check_output(["git", "show", "ab18cd3:" + resource], cwd=REPO))
now = json.loads((REPO / resource).read_bytes())
for added in [
p for p in now if p.endswith(("视频转gif动图图片.json", "加载图片合成视频.json"))
p
for p in now
if p.endswith(
("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json")
)
]:
now[added].pop("fixed_version_document")
assert now[PATH].pop("fixed_version_document") == BLOCK
assert now == old and len(DEFINITIONS) == 20
assert now == old and len(DEFINITIONS) == 21
blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r]
assert len(blocks) == 17 and sum(len(b["fields"]) for b in blocks) == 495
assert (
@@ -227,7 +231,9 @@ def test_exact_graph_and_original_seventeen_unchanged():
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
assert d["dependencies"]["check_state"] == "unchecked"
for p in DEFINITIONS:
if p.endswith(("视频转gif动图图片.json", "加载图片合成视频.json")):
if p.endswith(
("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json")
):
continue
if p == PATH:
continue