HEL-892: document frame extraction with exact mixed node versions
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -217,12 +217,17 @@ def test_exact_graph_and_original_seventeen_unchanged():
|
||||
p
|
||||
for p in now
|
||||
if p.endswith(
|
||||
("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json")
|
||||
(
|
||||
"视频转gif动图图片.json",
|
||||
"加载图片合成视频.json",
|
||||
"双图像或视频合并显示.json",
|
||||
"截取视频每一帧.json",
|
||||
)
|
||||
)
|
||||
]:
|
||||
now[added].pop("fixed_version_document")
|
||||
assert now[PATH].pop("fixed_version_document") == BLOCK
|
||||
assert now == old and len(DEFINITIONS) == 21
|
||||
assert now == old and len(DEFINITIONS) == 22
|
||||
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 (
|
||||
@@ -232,7 +237,12 @@ def test_exact_graph_and_original_seventeen_unchanged():
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
for p in DEFINITIONS:
|
||||
if p.endswith(
|
||||
("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json")
|
||||
(
|
||||
"视频转gif动图图片.json",
|
||||
"加载图片合成视频.json",
|
||||
"双图像或视频合并显示.json",
|
||||
"截取视频每一帧.json",
|
||||
)
|
||||
):
|
||||
continue
|
||||
if p == PATH:
|
||||
|
||||
Reference in New Issue
Block a user