HEL-892: document GIF and image-sequence video references
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -213,8 +213,12 @@ def test_exact_graph_and_original_seventeen_unchanged():
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
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"))
|
||||
]:
|
||||
now[added].pop("fixed_version_document")
|
||||
assert now[PATH].pop("fixed_version_document") == BLOCK
|
||||
assert now == old and len(DEFINITIONS) == 18
|
||||
assert now == old and len(DEFINITIONS) == 20
|
||||
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 (
|
||||
@@ -223,6 +227,8 @@ 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")):
|
||||
continue
|
||||
if p == PATH:
|
||||
continue
|
||||
r = copy.deepcopy(REVIEW)
|
||||
|
||||
Reference in New Issue
Block a user