Files
aigc-home/docs/hel-892/zimage-dream-document-evidence/tests-initial.txt
T

33 lines
2.2 KiB
Plaintext

........................................................................ [ 51%]
..............................................F...................... [100%]
=================================== FAILURES ===================================
__________________ test_three_texts_lora_order_and_alias_gap ___________________
def test_three_texts_lora_order_and_alias_gap():
ns = {n["id"]: n for n in SOURCE["nodes"]}
assert ns[41]["widgets_values"][0].startswith("古风帅哥")
assert ns[5]["inputs"][1]["link"] == 76
assert ns[57]["inputs"][1]["link"] is None
assert ns[57]["widgets_values"][0].endswith("泛蓝")
assert all(n["mode"] == 0 for n in SOURCE["nodes"])
assert [ns[n]["properties"]["ver"] for n in [46,56,61]] == ["0.5.1","0.20.1","0.20.1"]
assert [ns[n]["widgets_values"][1] for n in [46,56,61]] == [0.7,0.7,0.45]
assert [(e[1],e[3]) for e in SOURCE["links"] if e[-1] == "MODEL"] == [(1,46),(46,56),(56,61),(61,4)]
assert [x["link"] for x in ns[36]["inputs"]] == [77,78,None]
assert ns[47]["outputs"][0]["links"] is None
assert not any(e[1] == 47 and e[3] == 48 for e in SOURCE["links"])
> assert ns[10]["outputs"][0]["type"] == "IMAGE"
^^^^^^^^^^^^^^^^^^^^
E IndexError: list index out of range
calliope-backend/tests/test_zimage_dream_fixed_document.py:113: IndexError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-33db303247e4/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_zimage_dream_fixed_document.py::test_three_texts_lora_order_and_alias_gap
1 failed, 140 passed, 1 warning in 4.95s