........................................................................ [ 24%]
........................................................................ [ 48%]
........................................................................ [ 72%]
..................................................................F..... [ 97%]
........                                                                 [100%]
=================================== FAILURES ===================================
______________ test_old_review_objects_and_27_documents_unchanged ______________

    def test_old_review_objects_and_27_documents_unchanged():
     resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
     old=json.loads(subprocess.check_output(['git','show','2a82f1f:'+resource],cwd=REPO));now=json.loads((REPO/resource).read_bytes())
     now[PATH].pop('fixed_version_document');assert now==old and len(DEFINITIONS)==28
     blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
>    assert len(blocks)==27 and sum(len(b['fields']) for b in blocks)==838 and sum(len(b['comments']) for b in blocks)==19
                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

calliope-backend/tests/test_storyboard_fixed_document.py:121: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fb86c2ee830>

>   assert len(blocks)==27 and sum(len(b['fields']) for b in blocks)==838 and sum(len(b['comments']) for b in blocks)==19
                                                                                      ^^^^^^^^^^^^^
E   KeyError: 'comments'

calliope-backend/tests/test_storyboard_fixed_document.py:121: KeyError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
  /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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_storyboard_fixed_document.py::test_old_review_objects_and_27_documents_unchanged
1 failed, 295 passed, 1 warning in 4.94s
