HEL-892: document GIF and image-sequence video references
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -157,6 +157,10 @@ def test_real_document_and_frozen_old_fourteen_blocks():
|
||||
)
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
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")
|
||||
reverse = next(p for p in now if p.endswith("/视频倒放.json"))
|
||||
now[reverse].pop("fixed_version_document")
|
||||
nlf = next(p for p in now if p.endswith("NLF_视频人物动作骨架获取.json"))
|
||||
@@ -166,7 +170,7 @@ def test_real_document_and_frozen_old_fourteen_blocks():
|
||||
assert not doc(review=review)["fixed_version"]["matched"]
|
||||
now[openpose].pop("fixed_version_document")
|
||||
old = json.loads(subprocess.check_output(["git", "show", "7291887:" + resource], cwd=REPO))
|
||||
assert len(now) == 156 and len(DEFINITIONS) == 18
|
||||
assert len(now) == 156 and len(DEFINITIONS) == 20
|
||||
old_blocks = [
|
||||
r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user