Files
aigc-home/docs/hel-892/zimage-reverse-document-evidence/tests-initial.txt
T
2026-10-31 09:44:19 +08:00

55 lines
3.6 KiB
Plaintext

........................................................................ [ 26%]
........................................................................ [ 53%]
........................................................................ [ 80%]
...........................F......................... [100%]
=================================== FAILURES ===================================
______________________ test_exact_build_and_qualification ______________________
def test_exact_build_and_qualification():
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
BLOCK
)
assert len(DEFINITIONS) == 65 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == BLOCK["counts"]["root_saved_fields"] == 74
assert BLOCK["counts"]["source_notes"] == 2 and len(BLOCK["comments"]) == 2
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
sys.path.insert(0, str(OUT))
try:
> runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
calliope-backend/tests/test_zimage_reverse_fixed_document.py:95:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
docs/hel-892/zimage-reverse-document-evidence/verify_sources.py:119: in main
sampler = ast.parse((REF / "patch__comfy__samplers.py").read_bytes())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
with self.open(mode='rb') as f:
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-712c095f2482/workdir/aigc-home/docs/hel-892/zimage-reverse-reference/patch__comfy__samplers.py')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
def open(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None):
"""
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
"""
if "b" not in mode:
encoding = io.text_encoding(encoding)
> return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-712c095f2482/workdir/aigc-home/docs/hel-892/zimage-reverse-reference/patch__comfy__samplers.py'
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-712c095f2482/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_reverse_fixed_document.py::test_exact_build_and_qualification
1 failed, 268 passed, 1 warning in 6.60s