HEL-892: add source-bound reverse-video Chinese reference document
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -153,6 +153,8 @@ def test_real_document_and_frozen_old_thirteen_blocks():
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "9dac1b4:" + resource], cwd=REPO))
|
||||
now = json.loads((REPO / resource).read_bytes())
|
||||
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"))
|
||||
now[nlf].pop("fixed_version_document")
|
||||
openpose = next(p for p in now if p.endswith("openpose-video-姿态检测.json"))
|
||||
@@ -160,7 +162,7 @@ def test_real_document_and_frozen_old_thirteen_blocks():
|
||||
# SDPose is independently frozen against 7291887 in its own suite.
|
||||
sdpose = next(p for p in now if p.endswith("sdpose_视频人物姿势骨架提取.json"))
|
||||
now[sdpose].pop("fixed_version_document")
|
||||
assert len(now) == 156 and len(DEFINITIONS) == 17
|
||||
assert len(now) == 156 and len(DEFINITIONS) == 18
|
||||
assert len([r for r in old.values() if "fixed_version_document" in r]) == 13
|
||||
assert (
|
||||
sum(
|
||||
|
||||
Reference in New Issue
Block a user