HEL-892: document four watermark branches with pinned static sources
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())
|
||||
watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json"))
|
||||
now[watermark].pop("fixed_version_document")
|
||||
birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json"))
|
||||
now[birefnet].pop("fixed_version_document")
|
||||
latent = next(p for p in now if p.endswith("/加载本地latent解码.json"))
|
||||
@@ -176,7 +178,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) == 24
|
||||
assert len(now) == 156 and len(DEFINITIONS) == 25
|
||||
assert len([r for r in old.values() if "fixed_version_document" in r]) == 13
|
||||
assert (
|
||||
sum(
|
||||
|
||||
Reference in New Issue
Block a user