........................................................................ [ 25%] ........................................................................ [ 51%] ........................................................................ [ 76%] ................................................................F. [100%] =================================== FAILURES =================================== ________________ test_exact_document_topology_and_preservation _________________ def test_exact_document_topology_and_preservation(): d = doc() assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"] assert len(BLOCK["fields"]) == 27 and len(BLOCK["comments"]) == 1 assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 2 assert len(SOURCE["nodes"]) == 5 and len(SOURCE["links"]) == 4 assert SOURCE["links"] == [ [4, 1, 0, 4, 0, "IMAGE"], [10, 2, 0, 1, 0, "IMAGE"], [11, 2, 3, 9, 0, "VHS_VIDEOINFO"], [12, 9, 0, 4, 4, "FLOAT"], ] nodes = {n["id"]: n for n in SOURCE["nodes"]} for edge, origin, slot, target, inp, typ in SOURCE["links"]: assert edge in nodes[origin]["outputs"][slot]["links"] assert nodes[target]["inputs"][inp]["link"] == edge assert nodes[target]["inputs"][inp]["type"] == typ assert nodes[9]["widgets_values"] == {} and type(nodes[9]["widgets_values"]) is dict assert all(n["mode"] == 0 for n in SOURCE["nodes"]) assert pointer(SOURCE, BLOCK["comments"][0]["pointer"]) == BLOCK["comments"][0]["text"] assert not BLOCK["counts"]["final_prompt_constructed"] > assert all( s in "".join(BLOCK["flow"]) for s in [ "未实跑", "包同字节不等于提交绑定", "loaded_fps", "外线覆盖", "音频", "UE7.5.2", "空对象", "不是缺键/null/[]", ] ) E assert False E + where False = all(. at 0x7fd54576af20>) calliope-backend/tests/test_openpose_fixed_document.py:189: AssertionError =========================== short test summary info ============================ FAILED calliope-backend/tests/test_openpose_fixed_document.py::test_exact_document_topology_and_preservation 1 failed, 281 passed, 1 warning in 0.57s