HEL-892: add source-bound reverse-video Chinese reference document
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -260,8 +260,10 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects():
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + 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")
|
||||
assert now[PATH].pop("fixed_version_document") == BLOCK
|
||||
assert now == old and len(DEFINITIONS) == 17
|
||||
assert now == old and len(DEFINITIONS) == 18
|
||||
old_blocks = [
|
||||
r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r
|
||||
]
|
||||
@@ -272,7 +274,7 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects():
|
||||
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
for p in DEFINITIONS:
|
||||
if p == PATH:
|
||||
if p == PATH or p.endswith("/视频倒放.json"):
|
||||
continue
|
||||
r = copy.deepcopy(REVIEW)
|
||||
r["fixed_version_document"] = old[p]["fixed_version_document"]
|
||||
|
||||
Reference in New Issue
Block a user