........................................................................ [ 12%] ........................................................................ [ 25%] ........................................................................ [ 38%] ........................................................................ [ 51%] ........................................................................ [ 64%] ........................................................................ [ 77%] ........................................................................ [ 90%] ........................................F.............. [100%] =================================== FAILURES =================================== ________________ test_current_four_boundaries_and_active_chain _________________ def test_current_four_boundaries_and_active_chain(): assert [b["host_node_id"] for b in BLOCK["boundaries"]] == ["504", "677", "683", "696"] assert [(len(b["inputs"]), len(b["links"])) for b in BLOCK["boundaries"]] == [ (5, 8), (14, 16), (5, 8), (28, 58), ] assert ( BLOCK["counts"]["root_saved_fields"] == 53 and BLOCK["counts"]["internal_saved_fields"] == 69 ) assert all( not b["proxy_widgets_present"] and b["definition_widgets"] == [] for b in BLOCK["boundaries"] ) assert any("1799是中转数据链" in v for v in BLOCK["steps"]) assert any("slots24..27" in v and "有效" in v for v in BLOCK["steps"]) assert any("result=(image_a" in v for v in BLOCK["steps"]) fields = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]} assert fields["696", "seed"]["value"] == 482034763935697 assert fields["696:500", "use_default_template"]["value"] is False assert fields["504:5", "output"]["value"] == fields["683:682", "output"]["value"] == "mask" assert ( fields["504", "output"]["value"] == "depth" and fields["683", "output"]["value"] == "normal_opengl" ) assert len(fields["505", "rgthree_comparer"]["value"]) == 2 > assert fields["505", "rgthree_comparer"]["named_value"]["img"] == {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'img' calliope-backend/tests/test_qwen21_control_fixed_document.py:189: KeyError =============================== warnings summary =============================== calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53 /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED calliope-backend/tests/test_qwen21_control_fixed_document.py::test_current_four_boundaries_and_active_chain 1 failed, 558 passed, 1 warning in 9.15s